diff options
Diffstat (limited to 'chapter05/proc.xml')
-rw-r--r-- | chapter05/proc.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chapter05/proc.xml b/chapter05/proc.xml index 45b94ea45..365c10b51 100644 --- a/chapter05/proc.xml +++ b/chapter05/proc.xml @@ -12,9 +12,12 @@ in again as user root. The reason for this is simple: only root is allowed to mount filesystems and to run chroot.</para> <para>The proc file system is mounted under $LFS/proc by running the -following command:</para> +following command. We'll also chown it to user root/group root while we're +at it (the rest of the filesystem is chown'ed to root.root in a minute when +we start with chapter 6).</para> -<para><screen><userinput>mount proc $LFS/proc -t proc</userinput></screen></para> +<para><screen><userinput>chown root.root $LFS/proc && +mount proc $LFS/proc -t proc</userinput></screen></para> </sect1> |