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

Re: Git-daemon messing up permissions for gitweb

From
Linus Torvalds <torvalds@osdl.org>
Date
Jun 9, 2006, 19:05 UTC
Message-ID
<Pine.LNX.4.64.0606091201210.5498@g5.osdl.org>
In-Reply-To
<5A14AF34CFF8AD44A44891F7C9FF41050795782F@usahm236.amer.corp.eds.com>
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:
You can either make sure that people have something like
	umask 0022

in their bashrc (or that it's the default umask), so that they do things world-readably by default.

Or add
	[core]
		SharedRepository = true
to the repository config file.
		Linus
Previous: Jakub NarebskiNext: Junio C Hamano
Message 3 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.