aboutsummaryrefslogtreecommitdiff
path: root/cron-runner.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cron-runner.sh')
-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/