aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/creatingdirs.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-26 18:24:30 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-26 18:24:30 +0000
commita358a4746b8f5c73c316e280ba7cfeab6a436c97 (patch)
treece9a3ea461771639f4da2be41856f1e7250ce25e /chapter06/creatingdirs.xml
parent24bb762288c682ca646e7e7a48534c37de23ff5b (diff)
removed cd / command and just use absolute paths for the two chmod's
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1905 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/creatingdirs.xml')
-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