summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2018-06-23 16:09:33 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2018-06-23 16:09:33 -0300
commitb200ce82f7bf491611731b3b5fc1768613fe37e7 (patch)
tree2f128c35972396c0d84caac124eac6c3dc9244d8 /archiso/mkarchiso
parent5f57352398e9ec7ab7bbe14fe24619987235060f (diff)
downloadarchiso32-b200ce82f7bf491611731b3b5fc1768613fe37e7.tar.xz
Ensure correct umask for scripts
Fix for FS#58473 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 2 insertions, 0 deletions
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}" ;;