From 256e7b6118493723405933b20ea83aabc2b4fca2 Mon Sep 17 00:00:00 2001 From: Will Budic Date: Fri, 16 May 2025 08:22:39 +1000 Subject: [PATCH] chmod is important. --- configuration_notes/git_installation_with_gitweb.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration_notes/git_installation_with_gitweb.md b/configuration_notes/git_installation_with_gitweb.md index 6428e41..cf92064 100644 --- a/configuration_notes/git_installation_with_gitweb.md +++ b/configuration_notes/git_installation_with_gitweb.md @@ -57,7 +57,8 @@ useradd -r -s /usr/bin/rbash -g git --home /home/dev_share dev_user ```bash su -i root mkdir /srv/git/PerlCNFWEBServer.git - chown -R git:git /srv/git/PerlCNFWEBServer.git/ + chown -R git:git /srv/git/PerlCNFWEBServer.git + chmod -R ug+w /srv/git/PerlCNFWEBServer.git cd /srv/git/PerlCNFWEBServer.git touch git-daemon-export-ok git init --bare --shared=group -b master . -- 2.34.1