diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2013-02-01 23:56:03 +0400 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2013-02-01 23:56:03 +0400 |
commit | 003c3121049aef98bf37f048563b2ab892207620 (patch) | |
tree | 1cca26705d983ff55b2e2b97a4efd0d2954f9fcf /doc | |
parent | 0965aeb2ea3a7f89b0a74b746ec9aee063b0713c (diff) | |
parent | f4175219fb7a1cb93f7eed54bd6510a85345096e (diff) |
Merge pull request #2440 from klamontagne/master
Don't setuid the repositories on installation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install/installation.md | 3 | ||||
-rw-r--r-- | doc/raketasks/maintenance.md | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index 0724bea9c3b..1672b77afff 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -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 diff --git a/doc/raketasks/maintenance.md b/doc/raketasks/maintenance.md index ee5a8a3b5fb..110dbd161f7 100644 --- a/doc/raketasks/maintenance.md +++ b/doc/raketasks/maintenance.md @@ -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 |