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 <[email protected]> > 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 > [email protected] > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users > >
_______________________________________________ Gluster-users mailing list [email protected] http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
