Author: pierre
Date: Sun Mar 15 10:15:28 2020
New Revision: 4135
Log:
Remove envars before the SUDO phase
This is to allow root to execute ": > envars". On a non empty envars
owned by lfs, in a directory world writable with sticky bit and not owned
by lfs, this may be forbiden by the fs/protected_regular sysctl.
See https://www.kernel.org/doc/Documentation/sysctl/fs.txt
Modified:
jhalfs/trunk/LFS/master.sh
Modified: jhalfs/trunk/LFS/master.sh
==============================================================================
--- jhalfs/trunk/LFS/master.sh Tue Feb 11 05:55:28 2020 (r4134)
+++ jhalfs/trunk/LFS/master.sh Sun Mar 15 10:15:28 2020 (r4135)
@@ -491,6 +491,7 @@
@touch \$@
mk_SUDO: mk_LUSER
+ @sudo rm envars
@sudo make BREAKPOINT=\$(BREAKPOINT) SUDO
@touch \$@
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page