aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/kernel-exp.xml9
-rw-r--r--chapter05/kernel-inst.xml6
2 files changed, 14 insertions, 1 deletions
diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml
index 883364240..a89022963 100644
--- a/chapter05/kernel-exp.xml
+++ b/chapter05/kernel-exp.xml
@@ -33,5 +33,14 @@ These commands copy the kernel headers in the
<filename>$LFS/usr/include</filename> directory.
</para>
+<para>
+<userinput>chown root.root $LFS/usr/include/linux -R </userinput> and
+<userinput>chown root.root $LFS/usr/include/asm -R </userinput>:
+These commands change the ownership of the
+<filename>$LFS/usr/include/linux</filename> and the
+<filename>$LFS/usr/include/asm</filename> directories to the user
+root and group root.
+</para>
+
</sect2>
diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml
index a12a517b1..c02df1090 100644
--- a/chapter05/kernel-inst.xml
+++ b/chapter05/kernel-inst.xml
@@ -21,8 +21,12 @@ The kernel configuration file is created by running the following command:
<userinput>make dep &amp;&amp;</userinput>
<userinput>cd $LFS/usr/include &amp;&amp;</userinput>
<userinput>cp -a ../src/linux/include/linux . &amp;&amp;</userinput>
+ <userinput>chown root.root $LFS/usr/include/linux -R
+ &amp;&amp;</userinput>
<userinput>mkdir asm &amp;&amp;</userinput>
- <userinput>cp -a ../src/linux/include/asm/* asm</userinput>
+ <userinput>cp -a ../src/linux/include/asm/* asm &amp;&amp;</userinput>
+ <userinput>chown root.root $LFS/usr/include/asm -R</userinput>
+
</literallayout></blockquote>
</sect2>