summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/init4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/init b/src/init
index 0dfad14..d82f7a3 100755
--- a/src/init
+++ b/src/init
@@ -183,7 +183,9 @@ for repoConfig in $repos
end
# create writable log file for run script
-truncate -s 0 $_LOG && chmod 777 $_LOG
+truncate -s 0 $_LOG
+chown root:$_GIT_SUDO_GROUP $_LOG
+chmod 760 $_LOG
setupSSH; or return $status