Merge pull request #2440 from klamontagne/master

Don't setuid the repositories on installation
This commit is contained in:
Riyad Preukschas 2013-02-01 20:56:03 +01:00
commit 003c312104
3 changed files with 8 additions and 5 deletions

View file

@ -145,8 +145,9 @@ Fix the directory permissions for the configuration directory:
Fix the directory permissions for the repositories:
# 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/
find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s
## Add domains to list to the list of known hosts