From 453008682d92831c7328a40edd5dfcca28c215db Mon Sep 17 00:00:00 2001 From: Matthias Johnson Date: Mon, 6 Jan 2025 17:00:56 -0700 Subject: [PATCH] adding umask --- bwzy | 1 + 1 file changed, 1 insertion(+) diff --git a/bwzy b/bwzy index ca7e1e6..44cd7bf 100755 --- a/bwzy +++ b/bwzy @@ -39,6 +39,7 @@ shift $((OPTIND-1)) # Create temporary directories in tmpfs # Static filename is used to allow for re-use between invocations +umask 077 # only user shall have permissions TMP_DIR="/dev/shm/bwz-cache" [[ "$FLUSH_CACHE" == 'true' ]] \ && rm -rf "$TMP_DIR" \