aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/changingowner.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-02-02 20:47:25 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-02-02 20:47:25 +0000
commitffdd2c749ac246adbae6aefd788a69557dfc1660 (patch)
tree6c7d5d90fe7c8eff6d84f7dbc256179079170d44 /chapter06/changingowner.xml
parent9f15a09f4e5b8bd268712177fe4c5257479869f1 (diff)
slight change to make it more pleasant to type out
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1541 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/changingowner.xml')
-rw-r--r--chapter06/changingowner.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/chapter06/changingowner.xml b/chapter06/changingowner.xml
index 49d93189b..fca9bff74 100644
--- a/chapter06/changingowner.xml
+++ b/chapter06/changingowner.xml
@@ -6,13 +6,14 @@
all files and directories that were installed in chapter 5 back to root.
Run the following commands to do so:</para>
-<para><screen><userinput>chown 0.0 / /proc &amp;&amp;
-chown -R 0.0 /bin /boot /dev /etc /home /lib /mnt /opt /root /sbin /tmp /usr /var</userinput></screen></para>
+<para><screen><userinput>cd / &amp;&amp;
+chown 0.0 . proc &amp;&amp;
+chown -R 0.0 bin boot dev etc home lib mnt opt root sbin tmp usr var</userinput></screen></para>
<para>Depending on the filesystem you created on the LFS partition, you may
have a /lost+found directory. If so, run:</para>
-<para><screen><userinput>chown 0.0 /lost+found</userinput></screen></para>
+<para><screen><userinput>chown 0.0 lost+found</userinput></screen></para>
<para>These commands will change the ownership of the root partition and
the <filename>/proc</filename> directory to root, plus everything under