From 26d698422b84d8976472d0128b04f5cdef3a113f Mon Sep 17 00:00:00 2001 From: deajan Date: Sat, 8 Apr 2017 21:07:21 +0200 Subject: [PATCH] Added umask for log & run files --- dev/ofunctions.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 476f077..e9291ba 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -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."