Merge pull request #2440 from klamontagne/master
Don't setuid the repositories on installation
This commit is contained in:
commit
003c312104
3 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -81,7 +81,7 @@ Config directory owned by git:git? ... yes
|
|||
Config directory access is drwxr-x---? ... yes
|
||||
Repo base directory exists? ... yes
|
||||
Repo base owned by git:git? ... yes
|
||||
Repo base access is drwsrws---? ... yes
|
||||
Repo base access is drwxrws---? ... yes
|
||||
Can clone gitolite-admin? ... yes
|
||||
Can commit to gitolite-admin? ... yes
|
||||
post-receive hook exists? ... yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue