removing /tmp/gitolite-admin in installation script with sudo
Created by: yas375
Created by: yas375
in installation instructions it's already fixed: https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md
By Administrator on 2012-05-04T11:34:49 (imported from GitLab project)
Created by: yas375
debian 6 I run script under usual user, nor gitlab user. But when we clone repo for testing we do this as gitlab user:
sudo -u gitlab -H git clone git@localhost:gitolite-admin.git /tmp/gitolite-admin
And after that we are trying to remove this folder as current user
rm -rf /tmp/gitolite-admin
So, it's prohibited. That's why we should remove this directory as root or as the same user who created it.
By Administrator on 2012-05-07T10:57:25 (imported from GitLab project)
Please register or sign in to reply