Changeset e6db175


Ignore:
Timestamp:
08/15/2019 06:37:20 AM (5 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
54d6b90
Parents:
0fed4cc
Message:

gcc: fix the ownership of header directory

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11655 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc.xml

    r0fed4cc re6db175  
    158158rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/9.1.0/include-fixed/bits/</userinput></screen>
    159159
     160    <para>The GCC build directory is owned by <systemitem class="username">
     161    nobody</systemitem> now and the ownership of the installed header
     162    directory (and its content) will be incoorect.  Change the ownership to
     163    <systemitem class="username">root</systemitem> user and group:</para>
     164
     165<screen><userinput remap="install">chown -v -R root:root \
     166    /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
     167
    160168    <para>Create a symlink required by the <ulink
    161169    url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
Note: See TracChangeset for help on using the changeset viewer.