Could not change back to '/root/ruby-1.9.3-p194': Permission denied
Created by: tvb
While following the installation guide posted here on the wiki I got the following error:
root@git:~/ruby-1.9.3-p194# sudo -u git -H git clone -b gl-v304 https://github.com/gitlabhq/gitolite.git /home/git/gitolite fatal: Could not change back to '/root/ruby-1.9.3-p194': Permission denied
WORKED:
root@git:~/ruby-1.9.3-p194# cd /home/gitlab/ root@git:/home/gitlab# sudo -u git -H git clone -b gl-v304 https://github.com/gitlabhq/gitolite.git /home/git/gitolite Cloning into /home/git/gitolite...
Simple thing to change in the docs.