From dfd054336c421f77dc08b1e42a19621854c4fce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 4 Oct 2022 12:35:48 +0800 Subject: Fix Permission denied (publickey,keyboard-interactive) --- gitolite-cgit/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gitolite-cgit/entrypoint.sh') diff --git a/gitolite-cgit/entrypoint.sh b/gitolite-cgit/entrypoint.sh index d4becda..184c50e 100644 --- a/gitolite-cgit/entrypoint.sh +++ b/gitolite-cgit/entrypoint.sh @@ -392,6 +392,9 @@ 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 +chown git:git -R /var/lib/git +chmod 700 /var/lib/git chown git:git /var/lib/git/.gitolite.rc chmod 640 /var/lib/git/.gitolite.rc -- cgit v1.2.3