Commit 29baadf0c7f48c63867b839d4f990ff767b6dcc9
1 parent
0a2ac837
Exists in
master
and in
4 other branches
Don't setuid the repositories on installation
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
doc/install/installation.md
... | ... | @@ -146,8 +146,9 @@ Fix the directory permissions for the configuration directory: |
146 | 146 | Fix the directory permissions for the repositories: |
147 | 147 | |
148 | 148 | # Make sure the repositories dir is owned by git and it stays that way |
149 | - sudo chmod -R ug+rwXs,o-rwx /home/git/repositories/ | |
149 | + sudo chmod -R ug+rwX,o-rwx /home/git/repositories/ | |
150 | 150 | sudo chown -R git:git /home/git/repositories/ |
151 | + find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s | |
151 | 152 | |
152 | 153 | |
153 | 154 | ## Disable StrictHostKeyChecking for localhost and your domain | ... | ... |