For over a year, I\'ve been having troubles with GIT and directory/file permissions. I have a central repository to which multiple developers push code, using ssh (origin se
It looks like you changed the core.sharedRepository
after initializing the repository rather than using init --shared=group
which should set the permissions up correctly. This means that the sgid bit won't be set on the git repository's directories correctly. You will have to fix this manually with something like (assuming GNU find and xargs):
find . -print0 | xargs -0 chgrp group_name
find . -type d -print0 | xargs -0 chmod g+s