git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git-daemon messing up permissions for gitweb

From
Junio C Hamano <junkio@cox.net>
Date
Jun 9, 2006, 20:01 UTC
Message-ID
<7vwtbqm73j.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0606091201210.5498@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 5 quoted lines
> On Fri, 9 Jun 2006, Post, Mark K wrote:
>>
>> 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:
Show 5 quoted lines
> Or add
> 	[core]
> 		SharedRepository = true
>
> to the repository config file.

This is about being able to share among the group, not with people outside, so if wwwrun is outside git group like Mark's setting I do not think it would do anything helpful to the situation.

Previous: Linus TorvaldsNext: Junio C Hamano
Message 4 of 5 in “Git-daemon messing up permissions for gitweb”
  1. Post, Mark KJun 9, 2006
  2. Jakub NarebskiJun 9, 2006
  3. Linus TorvaldsJun 9, 2006
  4. Junio C HamanoJun 9, 2006
  5. Junio C HamanoJun 9, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.