From 338c63fb69af72ca10964051da35539ff2ea8882 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 30 May 2020 18:14:52 +0000 Subject: Fix groups for user tester, and a forgotten tester in sed tests git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11877 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/coreutils.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chapter06/coreutils.xml') diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index e3ab4a679..78309ba32 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -116,7 +116,7 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \ these tests are not skipped we'll add a temporary group and make the user tester a part of it: -echo "tester:x:1000:nogroup" >> /etc/group +echo "dummy:x:1000:tester" >> /etc/group Fix some of the permissions so that the non-root user can compile and run the tests: @@ -132,11 +132,11 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \ partially built system environment like the chroot environment here, but passes if run at the end of this chapter. The test program tty.sh is also known to fail. +--> Remove the temporary group: sed -i '/dummy/d' /etc/group ---> Install the package: make install -- cgit v1.2.3-54-g00ecf