push commits to git (gitolite) repository messes up file permissions (no more trac access)

Posted by klemens on Server Fault See other posts from Server Fault or by klemens
Published on 2011-01-13T11:48:49Z Indexed on 2011/01/13 11:54 UTC
Read the original article Hit count: 206

Filed under:
|
|
|
|

already posted here so feel free to answer there.

everytime i commit/push something to the git server the file permissions change (all added/edited files in the repository have no read and execute access for the group). thus trac can't access the repository.

do I need to change permissions of the folder differently?

chmod u=rwx,g=rx,o= -R /home/git/repositories

or do i need to setup gitolite somehow to write files with different permissions???

regards, klemens

© Server Fault or respective owner

Related posts about linux

Related posts about debian