# Git Issue

**URL:** <https://www.ruby-forum.com/t/git-issue/188166>\
**Category:** Rails\
**Created:** [May 6, 2010, 7:24pm UTC](https://www.ruby-forum.com/t/git-issue/188166 "2010-05-06T19:24:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c77e96/32.png) [@jesse](https://www.ruby-forum.com/u/jesse)\
**Post date:** [May 6, 2010, 7:24pm UTC](https://www.ruby-forum.com/t/git-issue/188166/1 "2010-05-06T19:24:10Z")

</div>

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  
‘removed\_email\_address@domain.invalid:/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

---

<div class="post-metadata">

**Author:** ![jesse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c77e96/32.png) [@jesse](https://www.ruby-forum.com/u/jesse)\
**Post date:** [May 6, 2010, 7:41pm UTC](https://www.ruby-forum.com/t/git-issue/188166/2 "2010-05-06T19:41:04Z")

</div>

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](http://groups.google.com/group/git-users) ?

---

<div class="post-metadata">

**Author:** ![jesse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c77e96/32.png) [@jesse](https://www.ruby-forum.com/u/jesse)\
**Post date:** [May 7, 2010, 10:25am UTC](https://www.ruby-forum.com/t/git-issue/188166/3 "2010-05-07T10:25:31Z")

</div>

I’m using Gitosis for repositories sharing  
Had no problems like that

> **[Promovare web și campanii de marketing online | SEO și optimizare | Realizare...](https://www.advertise.ro)**
>
> SEO, promovare, campanii, Adwords, Facebook Ads, marketing online, WebDesign, Site Prezentare, Magazin Online, Grafica Site, Realizare Site, WebSite, Firma webdesign, Optimizare Site, Promovare Site
