OS: Ubuntu server 10.04 LTS
I have a strange issue going on with permissions and can't seem to track down what is causing it.
The setup is as follows:
Git Repository folders (and files in them) are owned by root, and the group we use for the projects has rws rights, for example:
ll /path/to/project drwxrwsr-x 7 root project 4096 2013-03-14 19:19 project
Our jenkins user is member of the all the groups we create for the projects, including the one in the example. The jenkins application is started by the jenkins user to make sure it has full access to the project folders.
If i remove the read and execute rights for "others" on these git folders our builds fail, stating:
fatal: '/path/to/project' does not appear to be a git repository
ps: no SELinux in play