diff options
author | Jesús <heckyel@hyperbola.info> | 2022-10-04 12:35:48 +0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-10-04 12:35:48 +0800 |
commit | dfd054336c421f77dc08b1e42a19621854c4fce9 (patch) | |
tree | eeeb23842b4919df120d0035ac74dd5c94ec7658 | |
parent | b4c1e8004bdc7f7c0f784cdb8826bf4724460bd2 (diff) | |
download | gitolite-cgit-docker-dfd054336c421f77dc08b1e42a19621854c4fce9.tar.lz gitolite-cgit-docker-dfd054336c421f77dc08b1e42a19621854c4fce9.tar.xz gitolite-cgit-docker-dfd054336c421f77dc08b1e42a19621854c4fce9.zip |
Fix Permission denied (publickey,keyboard-interactive)
-rw-r--r-- | gitolite-cgit/entrypoint.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |