mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-24 21:35:42 +02:00
Update gitea-install.sh
This commit is contained in:
committed by
GitHub
parent
07a2bc6e30
commit
4e90c10246
@@ -30,9 +30,6 @@ setup_deb_based() {
|
||||
chown -R gitea:gitea /var/lib/gitea/
|
||||
chmod -R 750 /var/lib/gitea/
|
||||
chown root:gitea /etc/gitea
|
||||
# sshd's StrictModes rejects pubkey auth if authorized_keys or any parent dir up to
|
||||
# $HOME is group-writable - 770 here silently broke git-over-SSH (falls back to
|
||||
# password auth, which fails since the gitea user has no password).
|
||||
chmod 750 /etc/gitea
|
||||
sudo -u gitea ln -s /var/lib/gitea/data/.ssh/ /etc/gitea/.ssh
|
||||
msg_ok "Configured Gitea"
|
||||
|
||||
Reference in New Issue
Block a user