瀏覽代碼

Text update

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@359 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 年之前
父節點
當前提交
4848808d6c
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      chapter03/creatingdirs.xml

+ 3 - 5
chapter03/creatingdirs.xml

@@ -40,11 +40,9 @@ 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 when
-needed. The sticky bit (the first bit in the 1777 mask) 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 (the 777 in the bit mask)
+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 socalled "sticky bit" - bit 1 of the 1777 bit mask).
 </para>
 
 <blockquote><literallayout>