|
@@ -3,7 +3,7 @@
|
|
|
|
|
|
<para>
|
|
<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 according to the FHS
|
|
-standard which can be found at <ulink
|
|
|
|
|
|
+standard, which can be found at <ulink
|
|
url="http://www.pathname.com/fhs/">http://www.pathname.com/fhs/</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 the necessary directories:
|
|
</para>
|
|
</para>
|
|
@@ -35,17 +35,17 @@ Issuing the following commands will create the necessary directories:
|
|
</literallayout></blockquote>
|
|
</literallayout></blockquote>
|
|
|
|
|
|
<para>
|
|
<para>
|
|
-Normally directories are created with permission mode 755, which isn't
|
|
|
|
-desired for all directories. I haven't checked the FHS if they suggest
|
|
|
|
|
|
+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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
/home/username directories). The second change is a mode 1777 for the tmp
|
|
-directories. This way every user can write stuff to the /tmp directory if
|
|
|
|
-they need to. The sticky (1) bit makes sure users can't delete other
|
|
|
|
-user's file which they normally can do because the directory is set in
|
|
|
|
-such a way that every body (owner, group, world) can write to that directory.
|
|
|
|
|
|
+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.
|
|
</para>
|
|
</para>
|
|
|
|
|
|
<blockquote><literallayout>
|
|
<blockquote><literallayout>
|
|
@@ -59,7 +59,7 @@ such a way that every body (owner, group, world) can write to that directory.
|
|
<para>
|
|
<para>
|
|
Now that the directories are created, copy the source files that were
|
|
Now that the directories are created, copy the source files that were
|
|
downloaded in chapter 3 to some subdirectory under $LFS/usr/src (this
|
|
downloaded in chapter 3 to some subdirectory under $LFS/usr/src (this
|
|
-directory needs to be created yet).
|
|
|
|
|
|
+directory still needs to be created yet).
|
|
</para>
|
|
</para>
|
|
|
|
|
|
</sect1>
|
|
</sect1>
|