adding umask

This commit is contained in:
Matthias Johnson 2025-01-06 17:00:56 -07:00
parent ea3e6ba1a8
commit 453008682d

1
bwzy
View file

@ -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" \