From owner-freebsd-doc@FreeBSD.ORG Mon Apr 25 02:03:28 2005 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CF8716A4CF for ; Mon, 25 Apr 2005 02:03:28 +0000 (GMT) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E51F543D4C for ; Mon, 25 Apr 2005 02:03:23 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 29682 invoked by uid 207); 25 Apr 2005 02:03:20 -0000 Received: from keramida@ceid.upatras.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.156):. Processed in 1.165949 secs); 25 Apr 2005 02:03:20 -0000 Received: from dialup156.ach.sch.gr (HELO gothmog.gr) ([81.186.70.156]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Apr 2005 02:03:18 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.3/8.13.3) with ESMTP id j3P233jg018478; Mon, 25 Apr 2005 05:03:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.3/8.13.3/Submit) id j3P232d8018477; Mon, 25 Apr 2005 05:03:02 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 25 Apr 2005 05:03:02 +0300 From: Giorgos Keramidas To: Remko Lodder Message-ID: <20050425020302.GA8526@gothmog.gr> References: <426AD1C1.8070506@bigfoot.com> <426AD28A.4080704@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <426AD28A.4080704@FreeBSD.org> cc: "S.L.L. Tan" cc: freebsd-doc@freebsd.org Subject: Re: Found a mistake X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 02:03:28 -0000 On 2005-04-24 00:56, Remko Lodder wrote: > S.L.L. Tan wrote: > >In section 3.3.1 on this page: > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/permissions.html > >The last paragraph says: > >"A comma separated list can be provided when more than one set of > >changes to a file must be made. For example the following command will > >remove the groups and ``world'' write permission on FILE, then it adds > >the execute permissions for everyone: > > > >% chmod go-w,a+x FILE > >" > >The command does not do what the text says. The text says "world" but > >the command is for "Other". > > Other also stands for "world". If you are not the owner of the file, > nor are in the group, the other permissions (aka world) are right for > you. > > So the command does what is says it does imo. I sort of agree that the description of the command could probably use a bit of rewording though. Perhaps something like this? : For example the following command removes the write : permission from everyone except the user who owns the file : (``group'' and ``other'' modifiers of the ``-w'' flag) and : then add execute permission for everyone (``all'' modified : for the ``+x'' flag). : : % chmod go-w,a+x FILE