diff options
author | Jesús <heckyel@hyperbola.info> | 2021-06-02 20:48:38 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-06-02 20:48:38 -0500 |
commit | f58b9b5fffb35bea4e3ce14df57776e18adccfcb (patch) | |
tree | 04cd7d576d6a4382134456bb8fb9f25ff966f137 /gitolite-cgit/entrypoint.sh | |
parent | d5fea7e6c3b51e31e1c6b784d52d957a6b20f3e5 (diff) | |
download | gitolite-cgit-docker-f58b9b5fffb35bea4e3ce14df57776e18adccfcb.tar.lz gitolite-cgit-docker-f58b9b5fffb35bea4e3ce14df57776e18adccfcb.tar.xz gitolite-cgit-docker-f58b9b5fffb35bea4e3ce14df57776e18adccfcb.zip |
Fix permissions gitolite
Diffstat (limited to 'gitolite-cgit/entrypoint.sh')
-rwxr-xr-x | gitolite-cgit/entrypoint.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |