Issue #114: Add umask on build image script

This commit is contained in:
Filippo Squillace 2015-10-16 09:28:10 +00:00
parent 88992cc503
commit 1aa7a3ddbd

View file

@ -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."