From 68c43d59f09a66cca0da1b9a50c11421d52eac9a Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Sat, 22 Dec 2012 22:22:51 +0100 Subject: [PATCH] Add instructions to fix permissions for /home/git/.gitolite/ --- doc/install/installation.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/install/installation.md b/doc/install/installation.md index a9187af0..b872ceaf 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