Don't setuid the repositories on installation
This commit is contained in:
parent
0a2ac8371d
commit
29baadf0c7
|
@ -146,8 +146,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
|
||||
|
||||
|
||||
## Disable StrictHostKeyChecking for localhost and your domain
|
||||
|
|
Loading…
Reference in a new issue