diff options
Diffstat (limited to 'chapter06/changingowner.xml')
-rw-r--r-- | chapter06/changingowner.xml | 7 |
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 / && -chown 0.0 . proc && -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 && +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 |