Prechádzať zdrojové kódy

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
Gerard Beekmans 24 rokov pred
rodič
commit
a4da68159c
2 zmenil súbory, kde vykonal 14 pridanie a 1 odobranie
  1. 9 0
      chapter05/kernel-exp.xml
  2. 5 1
      chapter05/kernel-inst.xml

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

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