Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-23 01:22:51 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-23 01:22:51 +0400
commit68c43d59f09a66cca0da1b9a50c11421d52eac9a (patch)
tree2b9fc26675de7ccf653ef343c741ead72924aa94 /doc
parent5d1044c335b033714744f286105d24980fb57f04 (diff)
Add instructions to fix permissions for /home/git/.gitolite/
Diffstat (limited to 'doc')
-rw-r--r--doc/install/installation.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index a9187af0fa7..b872ceaf2bd 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -137,6 +137,12 @@ GitLab assumes *full and unshared* control over this Gitolite installation.
# ... and use it as the admin key for the Gitolite setup
sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gitolite setup -pk /home/git/gitlab.pub"
+Fix the directory permissions for the configuration directory:
+
+ # Make sure the Gitolite config dir is owned by git
+ sudo chmod 750 /home/git/.gitolite/
+ sudo chown -R git:git /home/git/.gitolite/
+
Fix the directory permissions for the repositories:
# Make sure the repositories dir is owned by git and it stays that way