aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/changingowner.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-02 20:15:02 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-02 20:15:02 +0000
commit3f12743405f4123463b57e0446bafdd398f2e598 (patch)
tree83da594bcaa934cf257c132e40768c79e4ebc98c /chapter06/changingowner.xml
parent9ef087369ca769f8f3a4ff76f7dba91a0bc80678 (diff)
fix bugs #335 and #342 plus various touch ups, layout fixed (line wrapping mostly)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1864 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/changingowner.xml')
-rw-r--r--chapter06/changingowner.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/chapter06/changingowner.xml b/chapter06/changingowner.xml
index fca9bff74..365e0857e 100644
--- a/chapter06/changingowner.xml
+++ b/chapter06/changingowner.xml
@@ -6,14 +6,13 @@
all files and directories that were installed in chapter 5 back to root.
Run the following commands to do so:</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><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>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