1
0
mirror of https://github.com/deajan/obackup.git synced 2024-12-25 06:53:41 +01:00

Added default umask

This commit is contained in:
deajan 2017-04-08 22:11:27 +02:00
parent faafa81d10
commit fefc01983d

View File

@ -2,7 +2,7 @@
#TODO Encrypted Pull runs on F25 fail for decryption #TODO Encrypted Pull runs on F25 fail for decryption
## obackup basic tests suite 2017020903 ## obackup basic tests suite 2017040801
OBACKUP_DIR="$(pwd)" OBACKUP_DIR="$(pwd)"
OBACKUP_DIR=${OBACKUP_DIR%%/dev*} OBACKUP_DIR=${OBACKUP_DIR%%/dev*}
@ -153,6 +153,10 @@ function oneTimeSetUp () {
START_TIME=$SECONDS START_TIME=$SECONDS
source "$DEV_DIR/ofunctions.sh" source "$DEV_DIR/ofunctions.sh"
# Set default umask because ofunctions set 0077
umask 0022
GetLocalOS GetLocalOS
echo "Detected OS: $LOCAL_OS" echo "Detected OS: $LOCAL_OS"