mirror of
https://github.com/fsquillace/junest.git
synced 2026-01-23 10:35:36 +00:00
Issue #114: Add umask on build image script
This commit is contained in:
parent
88992cc503
commit
1aa7a3ddbd
1 changed files with 3 additions and 1 deletions
|
|
@ -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."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue