ivyl/redmine-gitolite — Issue #13: Everything works *except* repository browsing
Author: brianthelion
Created: 2012-02-23 19:13:49+00:00
State: open

This would seem to be a standard permissions issue but I thought I'd document it here just so other people have a point of reference. It seems that most of the operations that the plugin does on the gitolite repos are done via SSH. Repository browsing, though, appears to require local file system access to the repos. When you try to browse, the following gets called:

git --git-dir -c core.quotepath=false -c log.decorate=no branch --no-color --verbose --no-abbrev

If you're on a Debian (Ubuntu) box, the caller and the owner of are likely different. Chances are that the caller (the owner of the process running Redmine) is www-data and the owner of is gitolite. So somehow you've got to give www-data read permissions on without opening up a security hole. I'm gonna try a couple of different things right now and I'll report back.

Nice work on the plugin!
~br