From 3c9e5e5d686df5ad6090732897a44a40fda8d946 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Mon, 5 Apr 2021 20:25:47 -0500 Subject: Create chapter7 log directory as normal user so normal user can write logs to it. --- lfs.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lfs.sh') diff --git a/lfs.sh b/lfs.sh index 0d2a894..ac10c67 100755 --- a/lfs.sh +++ b/lfs.sh @@ -149,6 +149,8 @@ source essential.sh printf "%b" "\n${CYN}ENTERING ${RED}CHROOT${CYN} ENVIRONMENT${RST}...\n" sleep 3 +# Create chapter7 log directory as non root user +mkdir -p "${LFS}"/sources/log/chapter7 sudo chroot "${LFS}" /usr/bin/env \ HOME=/root \ TERM="${TERM}" \ -- cgit v1.2.3-54-g00ecf