Commit 29baadf0 authored by Kevin Lamontagne's avatar Kevin Lamontagne

Don't setuid the repositories on installation

parent 0a2ac837
...@@ -146,8 +146,9 @@ Fix the directory permissions for the configuration directory: ...@@ -146,8 +146,9 @@ Fix the directory permissions for the configuration directory:
Fix the directory permissions for the repositories: Fix the directory permissions for the repositories:
# Make sure the repositories dir is owned by git and it stays that way # Make sure the repositories dir is owned by git and it stays that way
sudo chmod -R ug+rwXs,o-rwx /home/git/repositories/ sudo chmod -R ug+rwX,o-rwx /home/git/repositories/
sudo chown -R git:git /home/git/repositories/ sudo chown -R git:git /home/git/repositories/
find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s
## Disable StrictHostKeyChecking for localhost and your domain ## Disable StrictHostKeyChecking for localhost and your domain
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment