diff options
author | Kevin Lamontagne <kevin.lamontagne@libeo.com> | 2012-12-30 21:15:31 -0500 |
---|---|---|
committer | Kevin Lamontagne <kevin.lamontagne@libeo.com> | 2012-12-30 21:15:31 -0500 |
commit | 29baadf0c7f48c63867b839d4f990ff767b6dcc9 (patch) | |
tree | 9850c00d3279475082e068ad7e9075543b416808 | |
parent | 0a2ac8371d49123baa5d1f601fc24df15d46965a (diff) | |
download | gitlab-ce-29baadf0c7f48c63867b839d4f990ff767b6dcc9.tar.gz |
Don't setuid the repositories on installation
-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 |