mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 22:28:47 +00:00
Tweaked English idiom and edited for style.
This commit is contained in:
parent
29526d35ef
commit
36cb08fbf0
@ -10,10 +10,10 @@
|
|||||||
|
|
||||||
<title>Creating Directories</title>
|
<title>Creating Directories</title>
|
||||||
|
|
||||||
<para>It is time to create the full structure in the LFS file system.</para>
|
<para>It is time to create the full directory structure in the LFS file system.</para>
|
||||||
|
|
||||||
<note><para>Some of the directories mentioned in this section may be
|
<note><para>Some of the directories mentioned in this section may have
|
||||||
already created earlier with explicit instructions or when installing some
|
already been created earlier with explicit instructions, or when installing some
|
||||||
packages. They are repeated below for completeness.</para></note>
|
packages. They are repeated below for completeness.</para></note>
|
||||||
|
|
||||||
<para>Create some root-level directories that are not in the limited set
|
<para>Create some root-level directories that are not in the limited set
|
||||||
@ -42,14 +42,14 @@ install -dv -m 0750 /root
|
|||||||
install -dv -m 1777 /tmp /var/tmp</userinput></screen>
|
install -dv -m 1777 /tmp /var/tmp</userinput></screen>
|
||||||
|
|
||||||
<para>Directories are, by default, created with permission mode 755, but
|
<para>Directories are, by default, created with permission mode 755, but
|
||||||
this is not desirable for all directories. In the commands above, two
|
this is not desirable everywhere. In the commands above, two
|
||||||
changes are made—one to the home directory of user <systemitem
|
changes are made—one to the home directory of user <systemitem
|
||||||
class="username">root</systemitem>, and another to the directories for
|
class="username">root</systemitem>, and another to the directories for
|
||||||
temporary files.</para>
|
temporary files.</para>
|
||||||
|
|
||||||
<para>The first mode change ensures that not just anybody can enter
|
<para>The first mode change ensures that not just anybody can enter
|
||||||
the <filename class="directory">/root</filename> directory—the
|
the <filename class="directory">/root</filename> directory—just
|
||||||
same as a normal user would do with his or her home directory. The
|
like a normal user would do with his or her own home directory. The
|
||||||
second mode change makes sure that any user can write to the
|
second mode change makes sure that any user can write to the
|
||||||
<filename class="directory">/tmp</filename> and <filename
|
<filename class="directory">/tmp</filename> and <filename
|
||||||
class="directory">/var/tmp</filename> directories, but cannot remove
|
class="directory">/var/tmp</filename> directories, but cannot remove
|
||||||
@ -59,14 +59,14 @@ install -dv -m 1777 /tmp /var/tmp</userinput></screen>
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>FHS Compliance Note</title>
|
<title>FHS Compliance Note</title>
|
||||||
|
|
||||||
<para>The directory tree is based on the Filesystem Hierarchy Standard
|
<para>This directory tree is based on the Filesystem Hierarchy Standard
|
||||||
(FHS) (available at <ulink
|
(FHS) (available at <ulink
|
||||||
url="https://refspecs.linuxfoundation.org/fhs.shtml"/>). The FHS also specifies
|
url="https://refspecs.linuxfoundation.org/fhs.shtml"/>). The FHS also specifies
|
||||||
the optional existence of some directories such as <filename
|
the optional existence of additional directories such as <filename
|
||||||
class="directory">/usr/local/games</filename> and <filename
|
class="directory">/usr/local/games</filename> and <filename
|
||||||
class="directory">/usr/share/games</filename>. We create only the
|
class="directory">/usr/share/games</filename>. In LFS, we create only the
|
||||||
directories that are needed. However, feel free to create these
|
directories that are really necessary. However, feel free to create more
|
||||||
directories. </para>
|
directories, if you wish. </para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user