diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-06-03 11:27:19 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-06-03 11:27:19 +0000 |
commit | a2cd10ffbacbbb5f9f39e1340d071cea1f8303ee (patch) | |
tree | df3a0713ae4a913a41f3607a205cd9e53e6497b7 /chapter06/creatingdirs.xml | |
parent | f50aec70464ff15d6aacdae2af48a86f9c12221b (diff) |
applied Alex's commas.patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1960 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/creatingdirs.xml')
-rw-r--r-- | chapter06/creatingdirs.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 09b94e5f3..1eb8a5d2c 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -26,11 +26,11 @@ ln -s ../var/tmp /usr</userinput></screen></para> <para>Normally, directories are created with permission mode 755, which isn't desired for all directories. The first change is a mode 0750 for the /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 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> +enter the /root directory (the same a user would do with his /home/username +directory). The second change is a mode 1777 for the tmp +directories. In this way any user can write to the /tmp and /var/tmp +directories, but cannot remove other users's files from them (the latter is prohibited +by the so-called "sticky bit" -- bit 1 in the 1777 bit mask).</para> <para><screen><userinput>chmod 0750 /root && chmod 1777 /tmp /var/tmp</userinput></screen></para> |