Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: Git-daemon messing up permissions for gitweb

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:29


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help