浏览代码

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
Gerard Beekmans 23 年之前
父节点
当前提交
a358a4746b
共有 2 个文件被更改,包括 4 次插入5 次删除
  1. 2 3
      chapter06/creatingdirs.xml
  2. 2 2
      index.xml

+ 2 - 3
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

+ 2 - 2
index.xml

@@ -4,8 +4,8 @@
 
 <!ENTITY book SYSTEM "book/book.xml">
 
-<!ENTITY version "20020525">
-<!ENTITY releasedate "May 25th, 2002">
+<!ENTITY version "20020526">
+<!ENTITY releasedate "May 26th, 2002">
 
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">