From 8f7a30d534cdf97d8d14276d5fb202f240b1c257 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Mon, 8 Apr 2024 10:33:56 +0200 Subject: [PATCH] set default umask to avoid issues with user umask settings --- getupintheair.sh | 1 + install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/getupintheair.sh b/getupintheair.sh index 431d123..4316028 100755 --- a/getupintheair.sh +++ b/getupintheair.sh @@ -1,4 +1,5 @@ #!/bin/bash +umask 022 ID="$1" diff --git a/install.sh b/install.sh index 3cf048d..dfa2a94 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,6 @@ #!/bin/bash # shellcheck shell=bash disable=SC2016 +umask 022 set -e