I was following the above link to setup http access for GIT. But after this 
issue:!topic/git-users/nL0qZXiBHqw, I 
think my http settings are not right. This is what I do:
1. Change the DocumentRoot= /opt/git, since /opt/git/simple.git is the 
repository I want to access.
2. Created a git.conf in /etc/httpd/conf.d, has the LDAP access 
information. It works fine.
3. chmod a+x simple.git/hooks/post-update

There is one more thing I am not sure: the permission of 
/opt/git/simple.git. Who shall own this directory? The URL above says 
but I cant' find this group name in my server. My Apache is running under 
apache:apache. "ccusers" group is the group all my users belong to, which 
is set in LDAP.

[root@cmtoldshrdjk01 git]# ls -al
total 28
drwxr-xr-x   7 root apache  4096 Feb 21 14:04 .
drwxr-xr-x. 11 root root    4096 Jan 29 13:07 ..
drwxr-xr-x   6 root apache  4096 Jan 23 10:58 my_app.git
drwxr-xr-x   7 root apache  4096 Jan 23 14:26 project.git
drwxrwsr-x   7 root ccusers 4096 Feb 21 14:22 simple.git
drwxr-xr-x   7 root root    4096 Feb 13 11:46 web-app2.git
drwxrwsr-x   7 root apache  4096 Jan 23 14:34 web-app.git
[root@cmtoldshrdjk01 git]#

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to