From b200ce82f7bf491611731b3b5fc1768613fe37e7 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sat, 23 Jun 2018 16:09:33 -0300 Subject: Ensure correct umask for scripts Fix for FS#58473 Signed-off-by: Gerardo Exequiel Pozzi --- archiso/mkarchiso | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archiso/mkarchiso') diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 87b9587..5f9e887 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -367,6 +367,8 @@ if [[ ${EUID} -ne 0 ]]; then _msg_error "This script must be run as root." 1 fi +umask 0022 + while getopts 'p:r:C:L:P:A:D:w:o:s:c:g:vh' arg; do case "${arg}" in p) pkg_list="${pkg_list} ${OPTARG}" ;; -- cgit v1.2.3-70-g09d2