Add umask support

This commit is contained in:
David Coppit
2015-06-26 01:08:53 -04:00
parent 3888123dcd
commit dd981dc799
4 changed files with 23 additions and 8 deletions

View File

@@ -220,7 +220,7 @@ do
wait_for_minimum_period $last_run_time
echo "$(ts) Running command with user ID $USER_ID and group ID $GROUP_ID"
/files/runas.sh $USER_ID $GROUP_ID $COMMAND &
/files/runas.sh $USER_ID $GROUP_ID $UMASK $COMMAND &
PID=$!
last_run_time=$(date +"%s")