Changeset e6db175


Ignore:
Timestamp:
08/15/2019 06:37:20 AM (2 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, 9.0, 9.0-rc1, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
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.