Kaynağa Gözat

* Removed the creation of $LFS/usr/tmp and $LFS/usr/local/tmp
* don't chmod $LFS/usr/tmp and $LFS/usr/local/tmp


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@533 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Gerard Beekmans 24 yıl önce
ebeveyn
işleme
f3fe7330a1
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 5 5
      chapter03/creatingdirs.xml

+ 5 - 5
chapter03/creatingdirs.xml

@@ -17,7 +17,7 @@ Issuing the following commands will create a default directory layout:
 	<userinput>&nbsp;&nbsp;&nbsp;mkdir $dirname</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;cd $dirname</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;mkdir bin etc include lib sbin share 
-		src tmp var</userinput>
+		src var</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;ln -s share/man man</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;ln -s share/doc doc</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;ln -s share/info info</userinput>
@@ -41,15 +41,15 @@ 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 but 
-cannot remove another user's files (the latter is caused by
-the so-called "sticky bit" - bit 1 of the 1777 bit mask).
+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>
 
 <blockquote><literallayout>
 	<userinput>cd $LFS &amp;&amp;</userinput>
 	<userinput>chmod 0750 root &amp;&amp;</userinput>
-	<userinput>chmod 1777 tmp usr/tmp usr/local/tmp var/tmp</userinput>
+	<userinput>chmod 1777 tmp var/tmp</userinput>
 </literallayout></blockquote>
 
 <para>