There is an error in chmod(1)

Sergey Kandaurov pluknet at gmail.com
Mon Jul 15 07:39:28 UTC 2013


On 15 July 2013 11:05, Ian Smith <smithi at nimnet.asn.au> wrote:
> On Mon, 15 Jul 2013 01:58:56 +0400, Sergey Kandaurov wrote:
>  > On 15 July 2013 00:19, Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no> wrote:
>  > > There is an error in the chmod(1) man page.
>  > > tingo at kg-v2$ uname -a
>  > > FreeBSD kg-v2.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #6: Fri Apr 27 23:50:55 CEST 2012
>  > >     root at kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
>  > > tingo at kg-v2$ apropos ^sticky
>  > > sticky(7)                - sticky text and append-only directories
>  > > tingo at kg-v2$ man 1 chmod | grep sticky
>  > >            1000    (the sticky bit).  See chmod(2) and sticky(8).
>  > >            t       The sticky bit.
>  > >      setmode(3), symlink(7), chown(8), mount(8), sticky(8)
>  > >
>  >
>  > This was fixed in head (and appeared in 9.x) but never merged to 8.
>  > I just merged the related change to 8-STABLE (the stable/8 branch).
>  > Thanks for reporting!
>
> At least on 8-STABLE the residual error was only in chmod(1) .. back on
> 8.2-R - and at least back to 5.5-STABLE - it really was sticky(8) :)

Yep. It was once moved to sticky(7) to match NetBSD and common sense.

-- 
wbr,
pluknet


More information about the freebsd-stable mailing list