From faafa81d10951874827051371d083035a4062506 Mon Sep 17 00:00:00 2001 From: deajan Date: Sat, 8 Apr 2017 21:11:53 +0200 Subject: [PATCH] Added umask for log & run dir files --- dev/ofunctions.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 476f077..af60739 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -2,8 +2,8 @@ #### OFUNCTIONS FULL SUBSET #### #### OFUNCTIONS MINI SUBSET #### -_OFUNCTIONS_VERSION=2.1 -_OFUNCTIONS_BUILD=2017032301 +_OFUNCTIONS_VERSION=2.1.1 +_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."