mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-27 15:49:19 +01:00
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:
parent
7e41eee3f8
commit
47e2b3c362
@ -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>
|
||||||
|
@ -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 &&
|
||||||
|
mount proc $LFS/proc -t proc</userinput></screen></para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user