Skip to content
Snippets Groups Projects
Commit 29baadf0 authored by Kevin Lamontagne's avatar Kevin Lamontagne
Browse files

Don't setuid the repositories on installation

parent 0a2ac837
No related branches found
No related tags found
2 merge requests!2940Expanding repos and hooks paths in settings,!2440Don't setuid the repositories on installation
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment