Gitosis
Under your gitosis installation directory look for the file post-update and ensure that the user gitosis is supposed to run under has execution rights.
In my case the following command resolved this issue (gitosis is installed unter /Data/gitosis): chmod +x /data/gitosis/repositories/gitosis-admin.git/hooks/* The link mentioned below contains a more than complete installation guide which lead me to this solution as well.