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:
I was following the above link to setup http access for GIT. But
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
1. 'x' alone is not enough to execute a program--'r' is needed as well.
Though that is true in this context, the statement is a bit misleading
since it is not true for programs in general, only for scripts. Binary
programs do not need read permissions, only execute permissions:
~$ cp /bin/ls .
~$ chmod a-r ls
~$ ./ls -l ls
--wx--x--x 1 gunnar gunnar 106120 Feb 25 15:11 ls
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 https://groups.google.com/groups/opt_out.