Re: Git-daemon messing up permissions for gitweb
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 9, 2006, 18:58 UTC
- Message-ID
- <e6cgbo$2rm$1@sea.gmane.org>
- In-Reply-To
- <5A14AF34CFF8AD44A44891F7C9FF41050795782F@usahm236.amer.corp.eds.com>
Post, Mark K wrote:
Show 10 quoted lines
> I'm trying to set up a git repository for mainframe Linux developers to > use at git390.osdl.marist.edu. Everything _seemed_ to go well, until > Martin Schwidefsky started actually pushing changes back to the > repository. When he does that, the projects disappear from the web page > that gitweb.cgi is generating. > > As far as I can tell, the problem is happening because these files are > being written out with file permissions of 640, and since Apache is > running as user wwwrun, it can't read them: > -rw-r----- 1 sky git 5490 Jun 9 03:35 ./linux-2.6.git/info/refs
One of the possible soultion would be to add sky to Apache group, make directory sticky-group, and make files readable by group (perhaps by marking repository as shared, or something).
-- Jakub Narebski Warsaw, Poland