title: Git/Gitolite permissions with redmine
body: <p>In a docker setup, i've got the following :</p>
  
  <ul>
  <li>git container, with gitolite managed repositories</li>
  <li>redmine container, with an access to the repositories through a volume mount</li>
  </ul>
  
  <p>The two containers shares the same uid/gid for git user.</p>
  
  <p>Redmine user is listed in git group, so redmine user is able to browse in repositories, but partially as follows :</p>
  
  <p>It seems that some files inside each repo is not accessible by the git group for the redmine user ; I can experience it if I'm trying to access my repos through redmine webapp.</p>
  
  <p>If I'm chown-ing all my repos as redmine:redmine, everything is fine, but that's not satisfying.</p>
  
  <p>Can I do something else than sharing the same user across my containers ?
  (run redmine as a git user)</p>
  
  <p>Edit :</p>
  
  <p>Just read <a href="https://stackoverflow.com/questions/7086325/setting-umask-in-git-gitolite">Setting umask in Git / Gitolite</a></p>
  
  <p>Seems to work if I'm settings permissions like this way chmod -R g+rX</p>