diff options
Diffstat (limited to 'chapter03/creatingdirs.xml')
-rw-r--r-- | chapter03/creatingdirs.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chapter03/creatingdirs.xml b/chapter03/creatingdirs.xml index 463688456..44ad9c1a5 100644 --- a/chapter03/creatingdirs.xml +++ b/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> |