From 5204044ee249d11cb718cb8d16135f477f8110ab Mon Sep 17 00:00:00 2001 From: Ben Copeland Date: Tue, 4 Apr 2017 15:05:43 +0100 Subject: cron-runner: Add umask rule This is in place to reduce crontab email tag. --- cron-runner.sh | 2 ++ 1 file changed, 2 insertions(+) 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/ -- cgit v1.2.3