From owner-freebsd-stable@FreeBSD.ORG Mon Jul 15 07:05:10 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A81A5327 for ; Mon, 15 Jul 2013 07:05:10 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 1651CC82 for ; Mon, 15 Jul 2013 07:05:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r6F755hs067896; Mon, 15 Jul 2013 17:05:05 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 15 Jul 2013 17:05:05 +1000 (EST) From: Ian Smith To: Sergey Kandaurov Subject: Re: There is an error in chmod(1) In-Reply-To: Message-ID: <20130715165549.Q12860@sola.nimnet.asn.au> References: <20130714221916.fb8d444d23d5f266cde7e04b@getmail.no> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org, Torfinn Ingolfsen X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 07:05:10 -0000 On Mon, 15 Jul 2013 01:58:56 +0400, Sergey Kandaurov wrote: > On 15 July 2013 00:19, Torfinn Ingolfsen 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) :) cheers, Ian