aboutsummaryrefslogtreecommitdiffstats
path: root/chapter03/creatingdirs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter03/creatingdirs.xml')
-rw-r--r--chapter03/creatingdirs.xml27
1 files changed, 13 insertions, 14 deletions
diff --git a/chapter03/creatingdirs.xml b/chapter03/creatingdirs.xml
index 5311c6f2a..463688456 100644
--- a/chapter03/creatingdirs.xml
+++ b/chapter03/creatingdirs.xml
@@ -2,10 +2,10 @@
<title>Creating directories</title>
<para>
-Let's create the directory tree on the LFS partition according to the FHS
+Let's create the directory tree on the LFS partition based on the FHS
standard, which can be found at <ulink
url="http://www.pathname.com/fhs/">http://www.pathname.com/fhs/</ulink>.
-Issuing the following commands will create the necessary directories:
+Issuing the following commands will create a default directory layout:
</para>
<blockquote><literallayout>
@@ -36,16 +36,15 @@ Issuing the following commands will create the necessary directories:
<para>
Normally, directories are created with permission mode 755, which isn't
-desired for all directories. I haven't checked if the FHS suggests
-default modes for certain directories, so I'll just change the modes for
-a few directories that make sense to change. The first change is a mode
-0750 for the $LFS/root directory. This is to make sure that not just
-everybody can enter the /root directory (the same a user would do with
-/home/username directories). The second change is a mode 1777 for the tmp
-directories. This way, any user can write stuff to the /tmp directory when
-needed. The sticky (1) bit makes sure users can't delete other
-users' files which they normally can do, because the directory is set in
-such a way that everybody (owner, group, world) can write to that directory.
+desired for all directories. The first change is a mode 0750 for the
+$LFS/root directory. This is to make sure that not just everybody can
+enter the /root directory (the same a user would do with /home/username
+directories). The second change is a mode 1777 for the tmp
+directories. This way, any user can write data to the /tmp directory when
+needed. The sticky bit (the first bit in the 1777 mask) makes sure
+users can't delete other users files which they normally can do,
+because the directory is set in such a way that everybody (owner, group,
+world) can write to that directory (the 777 in the bit mask)
</para>
<blockquote><literallayout>
@@ -58,8 +57,8 @@ such a way that everybody (owner, group, world) can write to that directory.
<para>
Now that the directories are created, copy the source files that were
-downloaded in chapter 3 to some subdirectory under $LFS/usr/src (this
-directory still needs to be created yet).
+downloaded in chapter 3 to some subdirectory under $LFS/usr/src (you
+will need to create the desired directory yourself).
</para>
</sect1>