Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2013 11:39:26 +0400
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        freebsd-stable@freebsd.org, Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
Subject:   Re: There is an error in chmod(1)
Message-ID:  <CAE-mSOL9MZbEBMudMNYDwJ3Cr9zb6BTu9r1e8cP_wkSqHyShEw@mail.gmail.com>
In-Reply-To: <20130715165549.Q12860@sola.nimnet.asn.au>
References:  <20130714221916.fb8d444d23d5f266cde7e04b@getmail.no> <CAE-mSO%2BqWduj3FQjk6tRxDGU461a7-iqETMR2mcv8hcrAQ5JfA@mail.gmail.com> <20130715165549.Q12860@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 July 2013 11:05, Ian Smith <smithi@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@getmail.no> wrote:
>  > > There is an error in the chmod(1) man page.
>  > > tingo@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@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
>  > > tingo@kg-v2$ apropos ^sticky
>  > > sticky(7)                - sticky text and append-only directories
>  > > tingo@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOL9MZbEBMudMNYDwJ3Cr9zb6BTu9r1e8cP_wkSqHyShEw>