On Thu, 28 Jan 2016 08:22:16 +0000 Jason McIntyre <[email protected]> wrote:
> On Wed, Jan 27, 2016 at 08:24:09PM +0100, [email protected] 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 > > The manpage points to sticky(8) which in plain english, states that "Only the superuser can set the sticky bit on a file, though the owner of the file may clear the sticky bit." > 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 patches welcome, I guess.
