Ignore:
Timestamp:
08/08/2004 02:11:09 AM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
5ba3d1d
Parents:
6e41459
Message:

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4000 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/creatingdirs.xml

    r6e41459 ref13657  
    88<?dbhtml filename="creatingdirs.html"?>
    99
    10 <para>Let's now create some structure in our LFS file system. Let's create
    11 a directory tree. Issuing the following commands will create a more or less
     10<para>It is time to create some structure in the LFS file system.
     11Create a directory tree. Issuing the following commands will create a
    1212standard tree:</para>
    1313 
     
    3232install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
    3333
    34 <para>Directories are, by default, created with permission mode 755, but this
    35 isn't desirable for all directories. In the commands above, we make two changes:
    36 one to the home directory of <emphasis>root</emphasis>, and another to the
    37 directories for temporary files.</para>
     34<para>Directories are, by default, created with permission mode 755,
     35but this is not desirable for all directories. In the commands above,
     36two changes are made -- one to the home directory of user
     37<emphasis>root</emphasis>, and another to the directories for
     38temporary files.</para>
    3839
    39 <para>The first mode change ensures that not just anybody can enter the
    40 <filename class="directory">/root</filename> directory -- the same
    41 as a normal user would do with his or her home directory.
    42 The second mode change makes sure that any user can write to the
    43 <filename class="directory">/tmp</filename> and
    44 <filename class="directory">/var/tmp</filename> directories, but
    45 cannot remove other users' files from them. The latter is prohibited
    46 by the so-called <quote>sticky bit</quote> -- the highest bit in the 1777 bit
    47 mask.</para>
     40<para>The first mode change ensures that not just anybody can enter
     41the <filename class="directory">/root</filename> directory -- the same
     42as a normal user would do with his or her home directory. The second
     43mode change makes sure that any user can write to the <filename
     44class="directory">/tmp</filename> and <filename
     45class="directory">/var/tmp</filename> directories, but cannot remove
     46other users' files from them. The latter is prohibited by the
     47so-called <quote>sticky bit,</quote> the highest bit (1) in the 1777
     48bit mask.</para>
    4849
    4950<sect2>
    5051<title>FHS compliance note</title>
    5152
    52 <para>We have based our directory tree on the FHS standard (available at
    53 <ulink url="http://www.pathname.com/fhs/"/>). Besides the above created
    54 tree this standard stipulates the existence of
    55 <filename class="directory">/usr/local/games</filename> and
    56 <filename class="directory">/usr/share/games</filename>, but we don't
    57 much like these for a base system. However, feel free to make your system
    58 FHS-compliant. As to the structure of the
    59 <filename class="directory">/usr/local/share</filename> subdirectory, the FHS
    60 isn't precise, so we created here the directories that we think are needed.</para>
     53<para>The directory tree is based on the Filesystem Hierarchy Standard
     54(FHS) standard (available at <ulink
     55url="http://www.pathname.com/fhs/"/>). Besides the tree created above,
     56this standard stipulates the existence of <filename
     57class="directory">/usr/local/games</filename> and <filename
     58class="directory">/usr/share/games</filename>.  We do not recommend
     59these for a base system, however, feel free to make the system
     60FHS-compliant.  The FHS is not precise as to the structure of the
     61<filename class="directory">/usr/local/share</filename> subdirectory,
     62so we just created the directories that are needed.</para>
    6163
    6264</sect2>
    6365
    6466</sect1>
     67
Note: See TracChangeset for help on using the changeset viewer.