aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2017-04-04 15:05:43 +0100
committerBen Copeland <ben.copeland@linaro.org>2017-04-04 15:05:43 +0100
commit5204044ee249d11cb718cb8d16135f477f8110ab (patch)
tree0139df821a97a9ab844dbb6b123f6426500e1c35
parent00547a37e004a565d20a8e8cbe5a1b0ba57e1dee (diff)
downloadlinaro-android-gerrit-support-master.tar.gz
cron-runner: Add umask ruleHEADmaster
This is in place to reduce crontab email tag.
-rwxr-xr-xcron-runner.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/cron-runner.sh b/cron-runner.sh
index acf0d27..399926a 100755
--- a/cron-runner.sh
+++ b/cron-runner.sh
@@ -9,6 +9,8 @@
export GL_LIBDIR=~/gitolite/src/lib
export GL_BYPASS_ACCESS_CHECKS=1
+umask 0022
+
BASE_DIR=/srv/mirror
MIRROR_DIR=$BASE_DIR/gerrit-mirror/
LOG_DIR=$BASE_DIR/gerrit-mirror-logs/