before mounting /proc, chown root.root it first

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1788 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2002-04-03 23:46:22 +00:00
parent 7e41eee3f8
commit 47e2b3c362
2 changed files with 11 additions and 2 deletions

View File

@ -35,6 +35,12 @@
</para></listitem> </para></listitem>
<listitem><para>April 3rd, 2002 [gerard]: Chapter 05 - Mounting $LFS/proc:
Added <userinput>chown root.root $LFS/proc</userinput>. The recursive chown
operation in chapter 6 doesn't touch proc, so this'll remain owned by user
<emphasis>lfs</emphasis>. It's not a big deal, just not a very clean thing
to do.</para></listitem>
<listitem><para>April 3rd, 2002 [gerard]: Chapter 06 - Groff: Added a few <listitem><para>April 3rd, 2002 [gerard]: Chapter 06 - Groff: Added a few
symlinks that are used by programs like <userinput>xman</userinput> and symlinks that are used by programs like <userinput>xman</userinput> and
others.</para></listitem> others.</para></listitem>

View File

@ -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> to mount filesystems and to run chroot.</para>
<para>The proc file system is mounted under $LFS/proc by running the <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 &amp;&amp;
mount proc $LFS/proc -t proc</userinput></screen></para>
</sect1> </sect1>