From df414ce37e7ab991c24c3afc35dd62568d061cb2 Mon Sep 17 00:00:00 2001 From: dw-0 Date: Sat, 21 Sep 2024 21:01:19 +0200 Subject: [PATCH] fix: run umask 022 at launch (#538) Signed-off-by: Dominik Willner --- kiauh.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kiauh.sh b/kiauh.sh index b5e083d..4ecf842 100755 --- a/kiauh.sh +++ b/kiauh.sh @@ -12,6 +12,9 @@ set -e clear +# make sure we have the correct permissions while running the script +umask 022 + ### sourcing all additional scripts KIAUH_SRCDIR="$(dirname -- "$(readlink -f "${BASH_SOURCE[0]}")")" for script in "${KIAUH_SRCDIR}/scripts/"*.sh; do . "${script}"; done