diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2002-05-26 01:07:46 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2002-05-26 01:07:46 +0000 |
commit | 24bb762288c682ca646e7e7a48534c37de23ff5b (patch) | |
tree | eb2ad06eb76ccc4f7f5dac9ad69d04e0785999cd /chapter06/creatingdirs.xml | |
parent | cb4481bd359f4c756e5e99950b9f2c2d151587f3 (diff) |
some fixes related to removal from ch6
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1904 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/creatingdirs.xml')
-rw-r--r-- | chapter06/creatingdirs.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index c0d8b1270..65708779a 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -25,14 +25,14 @@ 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 -$LFS/root directory. This is to make sure that not just everybody can +/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> -<para><screen><userinput>cd $LFS && +<para><screen><userinput>cd / && chmod 0750 root && chmod 1777 tmp var/tmp</userinput></screen></para> |