cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_ownership.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Fri May 28 18:59:14 PDT 2004


jwrober     04/05/28 19:59:14

  Modified:    docs/syntax_doc/alfs_dtd elem_ownership.xml
  Log:
  * cleanup
  
  Revision  Changes    Path
  1.8       +17 -5     ALFS/docs/syntax_doc/alfs_dtd/elem_ownership.xml
  
  Index: elem_ownership.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_ownership.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- elem_ownership.xml	23 Feb 2004 03:53:51 -0000	1.7
  +++ elem_ownership.xml	29 May 2004 01:59:14 -0000	1.8
  @@ -32,24 +32,31 @@
   operation elements.  It is used to perform a group and/or user ownership
   change on a file or set of files</para>
   
  -<para>The only option supported is "recursive"</para>
  +<para>The sub-element <filename>option</filename> provides a means to pass
  +an option to the <command>chown</command> command.</para>
  +
  +<note><para>Not all of the <command>chown</command> options are in every
  +implementation.  Refer to the documentation for your implementation to
  +determine what options are available.</para></note>
   
   <para>The sub-element <filename>name</filename> contains the name of the
   file (or directory) whose ownership is to be changed.</para>
   
   <para>The attribute <filename>base</filename> specifies the directory
  -in which the command is performed.</para>
  +in which the command is performed. See
  +<xref linkend="elem_base"/>.</para>
   
   <para>The attribute <filename>user</filename> specifies the name of the user
  -which will own the file or directory</para>
  +which will own the file or directory. See
  +<xref linkend="elem_user"/>.</para>
   
   <para>The attribute <filename>group</filename> specifies the name of the group
  -which will own the file or directory</para>
  +which will own the file or directory.</para>
   
   </sect2>
   
   <sect2>
  -<title>Examples</title>
  +<title>Example #1</title>
   
   <para>The first example uses symbolic names.</para>
   
  @@ -73,6 +80,11 @@
   echo Changing owner of /etc/sysconfig into root
   <command>chown -R root /etc/sysconfig</command></userinput></screen>
   
  +</sect2>
  +
  +<sect2>
  +<title>Example #2</title>
  +
   <para>The second example uses numeric values (0 = root).</para>
   
   <screen><userinput><ownership user="0" group="0">
  
  
  



More information about the alfs-log mailing list