On Wed, Jan 27, 2016 at 08:24:09PM +0100, f...@fuz.su wrote: > The manual page chmod(2) states about the chmod() system call: > > If mode ISVTX (the sticky bit) is set on a file, it is ignored. > > However, attempting to set S_ISVTX on a plain file, the system call > fails with EFTYPE unless the user is the super user in which case it > succeeds in setting the S_ISVTX bit. The same behaviour occurs on > FreeBSD. It is however not documented on OpenBSD. I consider this > to be a documentation bug. Please fix the documentation. > > Yours sincerely, > Robert Clausecker >
freebsd's man page says something pretty similar to what our page says, though it's more verbose. i think you should mail us a diff and some info to back it up. or hope someone more knowledgeable replies to this thread ;) jmc