I have noticed that when I push a branch to the origin repo refs/heads/branchname
is created with permissions 600
. This prevents a local redmine client from seeing that branch when it updates the repository view.
After I run chmod -R 755 on the repository's directory the branch becomes visible to the redmine client.
Is there some setting in git
or the OS configuration that could be causing that?
It turns out the issue was caused by gitolite. The default umask in .gitolite.rc is 077
and needs to be changed to allow the a value which allows the Unix other
users to read the directories and files.