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>