This is not specifically a Rails question, but I figure that
someone here might know enough about git to help me.
Here is the situation. I had set up a private Git Repo server for my companies projects.
For testing I did everything as root. Now that I am ready to allow
others to access the Git Repositories on there I have copied the bin
files from /root/bin to /usr/bin and created a new repository for the
main line of code that I am working on /var/git/project. I pointed my
local repo to that as the new origin.
When I do a push to the repository I get the following after the
Failed to run command ‘index-pack’: Permission denied
error: pack-objects died with strange error
error: failed to push some refs to
When I shifted the bin files from /root/bin I did not see a file
called git-index-pack. Other git commands seem to be working as normal
both as root and as gituser.
Does anyone know what could be wrong.
Thanks in advance,