From f58b9b5fffb35bea4e3ce14df57776e18adccfcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 2 Jun 2021 20:48:38 -0500 Subject: Fix permissions gitolite --- gitolite-cgit/entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitolite-cgit/entrypoint.sh b/gitolite-cgit/entrypoint.sh index b69776e..eaad011 100755 --- a/gitolite-cgit/entrypoint.sh +++ b/gitolite-cgit/entrypoint.sh @@ -239,6 +239,10 @@ fi spawn-fcgi -s /run/fcgiwrap/fcgiwrap.socket -f /usr/bin/fcgiwrap chmod 660 /run/fcgiwrap/fcgiwrap.socket +# fix permissions gitolite +chown git:git /var/lib/git/.gitolite.rc +chmod 640 /var/lib/git/.gitolite.rc + # Start git-daemon git daemon --detach --reuseaddr --base-path=/var/lib/git/repositories /var/lib/git/repositories -- cgit v1.2.3