From a358a4746b8f5c73c316e280ba7cfeab6a436c97 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sun, 26 May 2002 18:24:30 +0000 Subject: removed cd / command and just use absolute paths for the two chmod's git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1905 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/creatingdirs.xml | 5 ++--- index.xml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 65708779a..7b5da0382 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -32,9 +32,8 @@ 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). -cd / && -chmod 0750 root && -chmod 1777 tmp var/tmp +chmod 0750 /root && +chmod 1777 /tmp /var/tmp Now that the directories are created, copy the source files that were downloaded in chapter 3 to some subdirectory under $LFS/usr/src (you diff --git a/index.xml b/index.xml index 75e64daab..ff0bd4d82 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + + -- cgit v1.2.3-54-g00ecf