diff options
author | Kevin Lamontagne <kevin.lamontagne@libeo.com> | 2012-12-31 06:15:31 +0400 |
---|---|---|
committer | Kevin Lamontagne <kevin.lamontagne@libeo.com> | 2012-12-31 06:15:31 +0400 |
commit | 29baadf0c7f48c63867b839d4f990ff767b6dcc9 (patch) | |
tree | 9850c00d3279475082e068ad7e9075543b416808 /doc | |
parent | 0a2ac8371d49123baa5d1f601fc24df15d46965a (diff) |
Don't setuid the repositories on installation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install/installation.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index 7fb5e48cdc9..c499288ea5a 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -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 |