From 2045e6f3b89386d9104a53f0219290e7ba2423e5 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 1331c7a..7002255 100755 --- a/lfs.sh +++ b/lfs.sh @@ -52,7 +52,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