Git Issue

Hi All,

     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 compression routine:
         Failed to run command 'index-pack': Permission denied
         error: pack-objects died with strange error
         error: failed to push some refs to 'gituser@git.contoso.local:/var/git/project.git'

     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,

Jess

Jesse wrote:

Hi All,

     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.

http://groups.google.com/group/git-users ?

I'm using Gitosis for repositories sharing
Had no problems like that
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way