Jelajahi Sumber

before mounting /proc, chown root.root it first

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1788 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 tahun lalu
induk
melakukan
47e2b3c362
2 mengubah file dengan 11 tambahan dan 2 penghapusan
  1. 6 0
      chapter01/changelog.xml
  2. 5 2
      chapter05/proc.xml

+ 6 - 0
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>

+ 5 - 2
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>