Re: [git-users] How to setup http protocol for GIT

2014-02-28 Thread Konstantin Khomoutov
On Thu, 27 Feb 2014 13:41:21 -0800 (PST) Jirong Hu jirong...@gmail.com wrote: I setup smart http following this URL: http://www.parallelsymmetry.com/howto/git.jsp When I try to push from a Window client to the GIT Linux server, I got this error: error: insufficient permission for adding

Re: [git-users] How to setup http protocol for GIT

2014-02-28 Thread Jirong Hu
Originally the group was apache (changed it following some instruction found on web). drwxrwsr-x 7 root apache 4096 Feb 21 14:22 simple.git Then after I change it to something like this, it allow me to push. drwxrwsr-x 7 root ccusers 4096 Feb 21 14:22 simple.git For example, I have the

Re: [git-users] How to setup http protocol for GIT

2014-02-27 Thread Jirong Hu
I setup smart http following this URL: http://www.parallelsymmetry.com/howto/git.jsp When I try to push from a Window client to the GIT Linux server, I got this error: error: insufficient permission for adding an object to repository database ./objectse The question is how shall I setup the

Re: [git-users] How to setup http protocol for GIT

2014-02-25 Thread Konstantin Khomoutov
On Mon, 24 Feb 2014 12:52:05 -0800 (PST) Jirong Hu jirong...@gmail.com wrote: http://git-scm.com/book/en/Git-on-the-Server-Public-Access I was following the above link to setup http access for GIT. But after this issue:https://groups.google.com/forum/#!topic/git-users/nL0qZXiBHqw, I think

Re: [git-users] How to setup http protocol for GIT

2014-02-25 Thread Gunnar Strand
On 02/25/14 14:16, Konstantin Khomoutov wrote: On Mon, 24 Feb 2014 12:52:05 -0800 (PST) Jirong Hu jirong...@gmail.com wrote: http://git-scm.com/book/en/Git-on-the-Server-Public-Access I was following the above link to setup http access for GIT. But after this

Re: [git-users] How to setup http protocol for GIT

2014-02-25 Thread Jirong Hu
You are right, somehow the hook didn't run I think, don't know why. After I run it manually, the http clone got the right version. [root@cmtoldshrdjk01 hooks]# exec git update-server-info Let me setup the smart http. Thanks Jirong On Tue, Feb 25, 2014 at 8:16 AM, Konstantin Khomoutov

[git-users] How to setup http protocol for GIT

2014-02-24 Thread Jirong Hu
http://git-scm.com/book/en/Git-on-the-Server-Public-Access I was following the above link to setup http access for GIT. But after this issue:https://groups.google.com/forum/#!topic/git-users/nL0qZXiBHqw, I think my http settings are not right. This is what I do: 1. Change the DocumentRoot=