From e6db1756da5069c62535b379e44cb1cd8de8408f Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 15 Aug 2019 06:37:20 +0000 Subject: gcc: fix the ownership of header directory git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11655 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chapter06') diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index a0ab63438..83c9560bd 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -157,6 +157,14 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check" make install rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/9.1.0/include-fixed/bits/ + The GCC build directory is owned by + nobody now and the ownership of the installed header + directory (and its content) will be incoorect. Change the ownership to + root user and group: + +chown -v -R root:root \ + /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed} + Create a symlink required by the FHS for "historical" reasons. -- cgit v1.2.3-54-g00ecf