From e89b85c889c057fc6c45541d7e11c513af056009 Mon Sep 17 00:00:00 2001 From: Jason Heath Date: Wed, 9 Oct 2024 11:26:37 -0400 Subject: [PATCH] Adds umask 0222 to start of install.sh --- components/hab/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/hab/install.sh b/components/hab/install.sh index 3a271d485f..4738adf47a 100755 --- a/components/hab/install.sh +++ b/components/hab/install.sh @@ -1,7 +1,9 @@ #!/bin/bash -# + set -eou pipefail +umask 0022 + # If the variable `$DEBUG` is set, then print the shell commands as we execute. if [ -n "${DEBUG:-}" ]; then set -x; fi