Author: xry111 Date: Wed Aug 14 23:37:20 2019 New Revision: 11655 Log: gcc: fix the ownership of header directory
Modified: trunk/BOOK/chapter06/gcc.xml Modified: trunk/BOOK/chapter06/gcc.xml ============================================================================== --- trunk/BOOK/chapter06/gcc.xml Wed Aug 14 23:36:26 2019 (r11654) +++ trunk/BOOK/chapter06/gcc.xml Wed Aug 14 23:37:20 2019 (r11655) @@ -157,6 +157,14 @@ <screen><userinput remap="install">make install rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/9.1.0/include-fixed/bits/</userinput></screen> + <para>The GCC build directory is owned by <systemitem class="username"> + nobody</systemitem> now and the ownership of the installed header + directory (and its content) will be incoorect. Change the ownership to + <systemitem class="username">root</systemitem> user and group:</para> + +<screen><userinput remap="install">chown -v -R root:root \ + /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen> + <para>Create a symlink required by the <ulink url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink> for "historical" reasons.</para> -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page