Re: git-push through git protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, 21 Jan 2007, Bill Lear wrote:
> 
> I applied the patches and I get failure.  I have appended the entire
> test case after my sig.  The last part reads:

Ok, that's different. It worked for me, several times. As far as I can 
tell, the biggest thing is just a difference in OS and the fact that I'm 
not running the git daemon from xinetd, but directly by hand as myself.

> % git push
> updating 'refs/heads/master'
>   from fee4efae4f3b98cce0fe85efc746291157fffbcd
>   to   e1179a3bf842ddcf4643740a396b46ce7ebd4ada
> Generating pack...
> Done counting 5 objects.
> Result has 3 objects.
> Deltifying 3 objects.
>  100% (3/3) done
> Writing 3 objects.
>  100% (3/3) done
> Total 3 (delta 0), reused 0 (delta 0)
> unpack unpacker exited with error code
> ng refs/heads/master n/a (unpacker error)

Umm. Your git daemon is probably running as "nobody", and simply doesn't 
have write permissions to the archive, does it?

> % cat /etc/xinet.d/git-daemon
> service git
> {
>         user            = nobody

iow, I think you simply need to make sure that git-daemon will have write 
permission to the thing. Either by making the whole repository writable by 
nobody, or by running git-daemon as the proper user.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]