From: Will Budic Date: Thu, 15 May 2025 22:22:39 +0000 (+1000) Subject: chmod is important. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=256e7b6118493723405933b20ea83aabc2b4fca2;p=dev_notes.git chmod is important. --- 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 .