Commit 68c43d59f09a66cca0da1b9a50c11421d52eac9a
1 parent
5d1044c3
Exists in
master
and in
4 other branches
Add instructions to fix permissions for /home/git/.gitolite/
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
doc/install/installation.md
@@ -137,6 +137,12 @@ GitLab assumes *full and unshared* control over this Gitolite installation. | @@ -137,6 +137,12 @@ GitLab assumes *full and unshared* control over this Gitolite installation. | ||
137 | # ... and use it as the admin key for the Gitolite setup | 137 | # ... and use it as the admin key for the Gitolite setup |
138 | sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gitolite setup -pk /home/git/gitlab.pub" | 138 | sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gitolite setup -pk /home/git/gitlab.pub" |
139 | 139 | ||
140 | +Fix the directory permissions for the configuration directory: | ||
141 | + | ||
142 | + # Make sure the Gitolite config dir is owned by git | ||
143 | + sudo chmod 750 /home/git/.gitolite/ | ||
144 | + sudo chown -R git:git /home/git/.gitolite/ | ||
145 | + | ||
140 | Fix the directory permissions for the repositories: | 146 | Fix the directory permissions for the repositories: |
141 | 147 | ||
142 | # Make sure the repositories dir is owned by git and it stays that way | 148 | # Make sure the repositories dir is owned by git and it stays that way |