Force umask when creating notes
All checks were successful
/ check (push) Successful in 3m41s

This commit is contained in:
Daniel Flanagan 2024-09-09 10:16:11 -05:00
parent 25abed953f
commit 26f2784f0f

View file

@ -1,5 +1,6 @@
#!/usr/bin/env sh
umask 0077
SUBDIR="${2:-./}"
mkdir -p "$NOTES_PATH/$SUBDIR"
cd "$NOTES_PATH/$SUBDIR" || exit 1