diff --git a/base.sh b/base.sh index d6fec92..e2773a6 100755 --- a/base.sh +++ b/base.sh @@ -314,7 +314,6 @@ function _gcc { } #----------------------------------------------------------------------------- # Main line -[ $(whoami) = "root" ] || die "Not running as user root, you should be!" # Create directories if needed [ -e "${LOGS}" ] || install -vdm 755 "${LOGS}" [ -e "${INFOS}" ] || install -vdm 755 "${INFOS}" diff --git a/lfs.sh b/lfs.sh index 833a799..272afd2 100755 --- a/lfs.sh +++ b/lfs.sh @@ -90,7 +90,7 @@ msg_line " Unmounting Virtual Kernel File Systems: " mountpoint -q ${LFS}/dev && umount ${LFS}/dev msg_success msg_line " Changing file ownership: " - chown -R 0:0 ${LFS} + chown -R root:root ${LFS} msg_success msg_line " Preparing Virtual Kernel File Systems: " [ -d ${LFS}/dev ] || mkdir -p ${LFS}/dev