adding umask
This commit is contained in:
parent
ea3e6ba1a8
commit
453008682d
1 changed files with 1 additions and 0 deletions
1
bwzy
1
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" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue