Add instructions to fix permissions for /home/git/.gitolite/
This commit is contained in:
parent
5d1044c335
commit
68c43d59f0
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue