Files are duplicated after renaming (with glusterfs+zfs-fuse)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The call to mknod returns 0, but the sticky bit is not set.
I have to execute chmod(path, S_ISVTX) to set the sticky bit after mknod.

Best,
Ken




2011/5/31 Amar Tumballi <amar at gluster.com>

> Oops! correction. try
>
> ret = mknod (path, S_IFREG | S_ISVTX, 0);
>
> instead of
>
> ret = mkdir (path, S_IFREG | S_ISVTX, 0);
>>
>>
> or chmod();
>
>
>> see whats the behavior.
>>
>> Regards,
>> Amar
>>
>>
>>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gluster.org/pipermail/gluster-users/attachments/20110601/bb8aeb35/attachment.htm>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux