From 4efebb4d1deca52845f94f9cf8ff45f2e5fd8191 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Sat, 17 Apr 2021 21:13:33 +0000 Subject: /mnt should be owned by root. Use sudo to create LFS target directory. --- lfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs.sh b/lfs.sh index 9a8a4f1..ca57b74 100755 --- a/lfs.sh +++ b/lfs.sh @@ -51,7 +51,7 @@ printf "%b" "${GRN}Creating LFS directory at ${YLW}${LFS}${GRN}${RST}... " if [[ -d "${LFS}" ]]; then success "EXISTS" else - if ! mkdir "${LFS}" >/dev/null 2>&1; then + if ! sudo mkdir "${LFS}" >/dev/null 2>&1; then fail "FAILED!" exit 1 fi -- cgit v1.2.3-54-g00ecf