From 2824c44781076c8a756cfc1522b900ac6e0c4e06 Mon Sep 17 00:00:00 2001 From: Florian Braun Date: Fri, 13 Jul 2018 13:06:56 +0200 Subject: [PATCH] Change Umask for update to ensure its 0022 This change sets umask to 0022 and restores it afterwards to the standard umask. This works around issue --- update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.sh b/update.sh index 2c9f31d92..a514e139d 100755 --- a/update.sh +++ b/update.sh @@ -3,6 +3,8 @@ #exit on error and pipefail set -o pipefail +umask 0022 + for bin in curl docker-compose docker git awk sha1sum; do if [[ -z $(which ${bin}) ]]; then echo "Cannot find ${bin}, exiting..."; exit 1; fi done