aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-04-03 23:46:22 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-04-03 23:46:22 +0000
commit47e2b3c362d52645effbceebb0244aad66f9d144 (patch)
tree1465e40148ec1840ee3a2ad530b319cf3c8b78f3
parent7e41eee3f8b1e93181afe449e5b3b2be8ec2da11 (diff)
before mounting /proc, chown root.root it first
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1788 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml6
-rw-r--r--chapter05/proc.xml7
2 files changed, 11 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ed9bc23b6..1e12b99a5 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -35,6 +35,12 @@
</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
symlinks that are used by programs like <userinput>xman</userinput> and
others.</para></listitem>
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 &amp;&amp;
+mount proc $LFS/proc -t proc</userinput></screen></para>
</sect1>