aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/creatingdirs.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml
index 65708779a..7b5da0382 100644
--- a/chapter06/creatingdirs.xml
+++ b/chapter06/creatingdirs.xml
@@ -32,9 +32,8 @@ directories. This way, any user can write data to the /tmp or /var/tmp
directory but cannot remove another user's files (the latter is caused
by the so-called "sticky bit" - bit 1 of the 1777 bit mask).</para>
-<para><screen><userinput>cd / &amp;&amp;
-chmod 0750 root &amp;&amp;
-chmod 1777 tmp var/tmp</userinput></screen></para>
+<para><screen><userinput>chmod 0750 /root &amp;&amp;
+chmod 1777 /tmp /var/tmp</userinput></screen></para>
<para>Now that the directories are created, copy the source files that were
downloaded in chapter 3 to some subdirectory under $LFS/usr/src (you