aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-06-28 15:56:27 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-06-28 15:56:27 +0000
commita4da68159c17ba1fb5fe2ff381472008ef5a6b99 (patch)
treef376e24cf822bec862c7012d620f08d9990c31a5 /chapter05
parentc7f342e7c4956c9ede431bc572c80204aa839144 (diff)
chown root.root the kernel include files in $LFS/usr/include/linux|asm
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@724 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>