mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 11:49:20 +01:00
gcc: fix the ownership of header directory
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11655 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
0fed4cc629
commit
e6db1756da
@ -157,6 +157,14 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
|
|||||||
<screen><userinput remap="install">make install
|
<screen><userinput remap="install">make install
|
||||||
rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/9.1.0/include-fixed/bits/</userinput></screen>
|
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
|
<para>Create a symlink required by the <ulink
|
||||||
url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
|
url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
|
||||||
for "historical" reasons.</para>
|
for "historical" reasons.</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user