diff options
author | Greg Schafer <greg@linuxfromscratch.org> | 2003-10-09 23:22:07 +0000 |
---|---|---|
committer | Greg Schafer <greg@linuxfromscratch.org> | 2003-10-09 23:22:07 +0000 |
commit | 21ba4e3570c1c2524b0733d492ced9634b259353 (patch) | |
tree | f5124d2e6106d2e29e5b32f79b56a90defabdbd9 /chapter06/creatingdirs.xml | |
parent | 1a7aecc6119f540e24a4e8da1b583a625b5690c1 (diff) |
Internal markup reworking to fix the extraneous whitespace problem in the "tidy generated" web site pages. Essentially replace all ocurrences of <para><screen> with <screen> (and of course the matching closing tags).
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2958 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/creatingdirs.xml')
-rw-r--r-- | chapter06/creatingdirs.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index a87526e4d..1b375fd7b 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -6,7 +6,7 @@ a directory tree. Issuing the following commands will create a more or less standard tree:</para> -<para><screen><userinput>mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc} +<screen><userinput>mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc} mkdir -p /{root,sbin,tmp,usr/local,var,opt} for dirname in /usr /usr/local do @@ -19,14 +19,14 @@ done mkdir /var/{lock,log,mail,run,spool} mkdir -p /var/{tmp,opt,cache,lib/misc,local} mkdir /opt/{bin,doc,include,info} -mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen></para> +mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> <para>Directories are, by default, created with permission mode 755, but this isn't desirable for all directories. We will make two changes: one to the home directory of root, and another to the directories for temporary files.</para> -<para><screen><userinput>chmod 0750 /root -chmod 1777 /tmp /var/tmp</userinput></screen></para> +<screen><userinput>chmod 0750 /root +chmod 1777 /tmp /var/tmp</userinput></screen> <para>The first mode change ensures that not just anybody can enter the <filename class="directory">/root</filename> directory -- the same |