From 02973a691a233c3684d0cc2f96e917313c28322f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 10 May 2016 22:40:35 +0100 Subject: [PATCH] Permission on config file --- src/freedombone | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone b/src/freedombone index 1acf27ad..30aec18e 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6742,6 +6742,8 @@ function install_gogs { echo '[service]' >> $GOGS_CONFIG_FILE echo 'DISABLE_REGISTRATION = false' >> $GOGS_CONFIG_FILE + #cp -r /home/git/go/src/github.com/gogits/gogs/custom /home/git/gvm/pkgsets/go${GO_VERSION}/global/src/github.com/gogits/gogs + chmod 750 $GOGS_CONFIG_FILE chown -R git:git /home/git systemctl restart gogs