diff --git a/lib/core.sh b/lib/core.sh index 0b299c4..dc71700 100644 --- a/lib/core.sh +++ b/lib/core.sh @@ -323,7 +323,9 @@ function _install_from_aur(){ } function build_image_env(){ -# The function must runs on ArchLinux with non-root privileges. + umask 022 + + # The function must runs on ArchLinux with non-root privileges. (( EUID == 0 )) && \ die "You cannot build with root privileges."