Added umask for log & run files

This commit is contained in:
deajan 2017-04-08 21:07:21 +02:00
parent 995787173e
commit 26d698422b
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#### OFUNCTIONS MINI SUBSET ####
_OFUNCTIONS_VERSION=2.1
_OFUNCTIONS_BUILD=2017032301
_OFUNCTIONS_BUILD=2017040801
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
_OFUNCTIONS_BOOTSTRAP=true
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
@ -30,6 +30,9 @@ fi
## Correct output of sort command (language agnostic sorting)
export LC_ALL=C
## Default umask for file creation
umask 0077
# Standard alert mail body
MAIL_ALERT_MSG="Execution of $PROGRAM instance $INSTANCE_ID on $(date) has warnings/errors."