diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-04-18 02:15:21 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-04-18 02:15:21 +0000 |
commit | f3fe7330a146e92c4dfa6561297cf1f943113985 (patch) | |
tree | 943c5ce9bd27e1891b3275e88aae95f5fb9e8bb8 /chapter03 | |
parent | 968689ed0ba16bd9efb4113f8abcacb776ef50dd (diff) |
* 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
Diffstat (limited to 'chapter03')
-rw-r--r-- | chapter03/creatingdirs.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter03/creatingdirs.xml b/chapter03/creatingdirs.xml index 317fdb5ee..f67ade0c6 100644 --- a/chapter03/creatingdirs.xml +++ b/chapter03/creatingdirs.xml @@ -17,7 +17,7 @@ Issuing the following commands will create a default directory layout: <userinput> mkdir $dirname</userinput> <userinput> cd $dirname</userinput> <userinput> mkdir bin etc include lib sbin share - src tmp var</userinput> + src var</userinput> <userinput> ln -s share/man man</userinput> <userinput> ln -s share/doc doc</userinput> <userinput> 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 &&</userinput> <userinput>chmod 0750 root &&</userinput> - <userinput>chmod 1777 tmp usr/tmp usr/local/tmp var/tmp</userinput> + <userinput>chmod 1777 tmp var/tmp</userinput> </literallayout></blockquote> <para> |