RFC: New section for the Unix Basics chapter.

Simon L. Nielsen simon at nitro.dk
Thu Jun 19 21:42:03 UTC 2003


On 2003.06.19 23:38:58 +0200, Simon L. Nielsen wrote:
> 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 <literal>
> > tags, but I wanted to get a general idea before I put more work into
> > it.
> > 
> > Comments, suggestions, death threats welcome.  Thanks!
> 
> A few minor style/docbook sugestions in attached patch. General comments
> below.

Ups, patch should be attached this time... :-)

-- 
Simon L. Nielsen
-------------- next part --------------
--- chapter.sgml	Thu Jun 19 23:35:29 2003
+++ chapter.sgml.sln	Thu Jun 19 23:23:26 2003
@@ -200,13 +200,16 @@
       page.</para>
 
     <sect2>
-      <authorgroup>
-	<author>
-	  <firstname>Tom</firstname>
-	  <surname>Rhodes</surname>
-	  <contrib>Contributed by </contrib>
-	</author>
-      </authorgroup>
+      <sect2info>
+	<authorgroup>
+	  <author>
+	    <firstname>Tom</firstname>
+	    <surname>Rhodes</surname>
+	    <contrib>Contributed by </contrib>
+	  </author>
+	</authorgroup>
+      </sect2info>
+
       <title>Symbolic Permissions</title>
       <indexterm><primary>permissions</primary><secondary>symbolic</secondary></indexterm>
 
@@ -229,7 +232,7 @@
 	  <row>
 	    <entry>(who)</entry>
 	    <entry>u</entry>
-	    <entry>File Owner</entry>
+	    <entry>File owner</entry>
 	  </row>
 
 	  <row>
@@ -306,7 +309,7 @@
       the following command to block other users from accessing the files
       in your home directory:</para>
 
-    <screen>&prompt.user;<userinput>chmod go= *</userinput></screen>
+    <screen>&prompt.user; <userinput>chmod go= *</userinput></screen>
 
     <para>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
@@ -314,7 +317,7 @@
       on <replaceable>FILE</replaceable>, then it adds the execute
       permissions for everyone:</para>
 
-    <screen>&prompt.user;<userinput>chmod go-w,a+x <replaceable>FILE</replaceable></userinput></screen>
+    <screen>&prompt.user; <userinput>chmod go-w,a+x <replaceable>FILE</replaceable></userinput></screen>
 
 
     <para>Most users will do not notice this, but it should be pointed out
@@ -322,7 +325,7 @@
       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:</para>
 
-    <screen>&prompt.root; <userinput>chmod u+rw <replaceable>FILE</replaceable></userinput></screen>
+    <screen>&prompt.user; <userinput>chmod u+rw <replaceable>FILE</replaceable></userinput></screen>
 
     <para>The closest octal value would be <literal>0600</literal> and it would not
       be the same.</para>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20030619/55ff2bd9/attachment.sig>


More information about the freebsd-doc mailing list