On 2 March 2010 10:35, Fredrich Maney <fredrichma...@gmail.com> wrote: > Logically it would be setuid + setgid + sticky, but it is not defined > in the man page and I don't have the ability to read through the > applicable source code. If it's not available, then I retract my > suggestion, and instead suggest that the man pages need to be updated. > :)
Well, I don't think the man page needs to list all possible combinations :) sticky bit , setuid bit and setgid bit are all described. As I said, the sticky bit is little if not used for regular files, but it has an important semantic for directories: If a directory is writable and has S_ISVTX (the sticky bit) set, files within that directory can be removed or renamed only if one or more of the following is true (see unlink(2) and rename(2)): o the user owns the file o the user owns the directory o the file is writable by the user o the user is a privileged use I would not go with "overloading" something that was not meant to be used this way, especially since there are other possible solutions. But, obviously, my opinion :) > > According to the man page, the valid values for the mask are 0-7 in 4 > places, so 8000 would not be a valid value. Yes, I know, which is why I wondered if you meant to actually use a bit that is not meant to be used. Got also a bit misled by "bit", probably. :) - Enrico _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss