From owner-freebsd-stable@FreeBSD.ORG Mon Jul 15 07:39:28 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 50729C78 for ; Mon, 15 Jul 2013 07:39:28 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-we0-x233.google.com (mail-we0-x233.google.com [IPv6:2a00:1450:400c:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id E074EDC8 for ; Mon, 15 Jul 2013 07:39:27 +0000 (UTC) Received: by mail-we0-f179.google.com with SMTP id w59so9926965wes.10 for ; Mon, 15 Jul 2013 00:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VvJEWT/9HO9bgaET1gihW/YodzxuNXG8veoE/jkaKpU=; b=asgIxb3tNJEjZO3h/S5cKBdMhjmg1AbMzb0GRgQEKztsrwIEZdgEjpntuQix14hhMl n6Fp308o+RujwVxdTuonSyktWPR3Y9+rj4rPAT/gSHJ/SFqBElK/oLZxWDcE8G7a6O3D hHtPLj1kMmztk6PMWs+o/pAC1/SGzqUYKEwg1Q5bMdjyyjAw/gr1VNPGhgs6GxclRiSJ nIKSmP+8Md9Ln9gY7v13g32k6B4K40vVihyRTi8XE8P4ovb8ncuXYCaSneweh8ufoyHJ p7iA+9SPvoMutkQwcitopJlV+VoajeptqROVHri2cXER7fd62uZ2LeoIIcLteJn2zN6c MtOw== MIME-Version: 1.0 X-Received: by 10.194.87.9 with SMTP id t9mr25761266wjz.39.1373873966963; Mon, 15 Jul 2013 00:39:26 -0700 (PDT) Received: by 10.216.82.70 with HTTP; Mon, 15 Jul 2013 00:39:26 -0700 (PDT) In-Reply-To: <20130715165549.Q12860@sola.nimnet.asn.au> References: <20130714221916.fb8d444d23d5f266cde7e04b@getmail.no> <20130715165549.Q12860@sola.nimnet.asn.au> Date: Mon, 15 Jul 2013 11:39:26 +0400 Message-ID: Subject: Re: There is an error in chmod(1) From: Sergey Kandaurov To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 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:39:28 -0000 On 15 July 2013 11:05, Ian Smith wrote: > 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) :) Yep. It was once moved to sticky(7) to match NetBSD and common sense. -- wbr, pluknet