Context: I am creating a gitolite3 hook for a specific repo, which contains some logic and css foo of my website.so what essentailly happens is Content under /var/www/nginx/ looks like:drwxrwxr-x. nginx   git   system_u:object_r:httpd_sys_content_t:s0 foo.git is special:drwxrwxr-x. git     git   system_u:object_r:httpd_sys_content_t:s0 .gitTo make sure all subdirs have the proper access rights I used:chown nginx:git -Rf ./webfoochmod g+rw -Rf ./webfoochown git:git -Rf ./webfoo/.git[This is just bonus, you can skip this.]The gitolite3 hook#!/bin/bashcd /var/www/nginx/webfoo || exitunset GIT_DIRecho where: $(pwd)git pull -f origin deploy-me-branchremote: where: /var/www/nginx/webfooremote: From /home/gitolite/repositories/webfooremote:    c092ee2..07274a6  master     -> origin/masterremote: error: unable to unlink old '.gitignore' (Permission denied)remote: error: unable to unlink old 'templates/fancypost.html' (Permission denied)remote: error: unable to unlink old 'templates/layout.html' (Permission denied)/var/log/audit/audit.log does not contain any access denies.Update: Even loging in git locally does not work either. So this is probably unrelated to SELinux/file security context.Why does this fail to work as I'd expect?
allow user access via ssh to /var/www/
permissions;files;git