From owner-freebsd-doc@FreeBSD.ORG Thu Jun 19 14:38:59 2003 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 CDCBC37B407; Thu, 19 Jun 2003 14:38:59 -0700 (PDT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id E55A143F93; Thu, 19 Jun 2003 14:38:58 -0700 (PDT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id 20D5710BF8C; Thu, 19 Jun 2003 23:38:58 +0200 (CEST) Date: Thu, 19 Jun 2003 23:38:58 +0200 From: "Simon L. Nielsen" To: Tom Rhodes Message-ID: <20030619213857.GC408@nitro.dk> References: <20030619144421.4edd2826.trhodes@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline In-Reply-To: <20030619144421.4edd2826.trhodes@FreeBSD.org> User-Agent: Mutt/1.5.4i cc: FreeBSD-doc@FreeBSD.org cc: jim@FreeBSD.org Subject: Re: RFC: New section for the Unix Basics chapter. 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: Thu, 19 Jun 2003 21:39:00 -0000 --lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003.06.19 14:44:21 -0400, Tom Rhodes wrote: > In this email I have a patch to add information on symbolic permissions > to the Unix Basics chapter of our handbook. Now I'm a little wierd on > the table output and I know that it could use a few more > tags, but I wanted to get a general idea before I put more work into > it. >=20 > Comments, suggestions, death threats welcome. Thanks! A few minor style/docbook sugestions in attached patch. General comments below. > --- chapter.sgml Thu Jun 19 14:39:43 2003 > +++ chapter.sgml.new Thu Jun 19 14:07:59 2003 [CUT] + + (permissions) + s + SUID or SGID + Set UID / Set GID or something a bit more verbose perhaps ? [CUT] > + These values are used with the chmod command > + just like before, but with letters. For an example, you could use > + the following command to block other users from accessing the files > + in your home directory: > + > + &prompt.user;chmod go=3D * I think this is a bad example since it really doesn't prevent others =66rom reading e.g. dotfiles and the directory content. This section is targeting newbies I think it's better not to let them think they can "secure" a directory this way. I think a simple example with some random file would be fine - like the next example. > + A comma separated list can be provided when more than one set > + of changes to a file must be made. For example the following comm= and > + will remove the groups and world write permission When referencing world here (which I think is OK) I think "(World)" or something like that should be added group option in the table. > + Most users will do not notice this, but it should be pointed o= ut > + that using the octal method will only set or assign permissions to > + a file; it does not add or delete them. This means that the octal > + method does not have an equivalent option to the following command= : > + > + &prompt.root; chmod u+rw FILE > + > + The closest octal value would be 0600 and i= t would not > + be the same. > + I must say that I'm not really sure what you are trying to say here. Mode 0600 would be the same as (the rather obscure) "chmod u+rw-sx,go-swrx"... Just my 0.02 DKR, use a you like :). --=20 Simon L. Nielsen --lMM8JwqTlfDpEaS6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+8i1x8kocFXgPTRwRAqZKAJ9uI5Xed/s3Mfn7qIAggESogv6gQwCghqrI /1+WB1EwB6BR68Qz/GFpN0Y= =aaLu -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6--