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 10, 2006, 21:41 UTC
Message-ID
<Pine.LNX.4.64.0606101439530.5498@g5.osdl.org>
In-Reply-To
<20060610213051.GB5825@steel.home>
On Sat, 10 Jun 2006, Alex Riesen wrote:
>
>      ~/.ssh/rc
> 
> AFAIK, it was always there.

Note that since umask is a per-process flag, and only inherited from parents to children, not the other way around, if the rc file is run as a separate shell script (and I assume it is) instead of "sourced" from the the shell that actually executes the programs you run, then this won't help at all.

Try:
	sh -c "umask 0777 ; umask" ; umask
to see in more graphic ("textual") detail what I mean.
		Linus
Previous: Alex RiesenNext: Alex Riesen
Message 13 of 14 in “RE: Git-daemon messing up permissions for gitweb”
  1. Post, Mark KJun 9, 2006
  2. Junio C HamanoJun 9, 2006
  3. Retire SIMPLE_*** stuff.Junio C Hamano, Jun 10, 2006
  4. Built-in git-get-tar-commit-id (was: [PATCH/RFC] Retire SIMPLE_*** stuff.)Rene Scharfe, Jun 10, 2006
  5. shared repository settings enhancement.Junio C Hamano, Jun 10, 2006
  6. Linus TorvaldsJun 10, 2006
  7. Jakub NarebskiJun 10, 2006
  8. Junio C HamanoJun 10, 2006
  9. Linus TorvaldsJun 10, 2006
  10. Junio C HamanoJun 10, 2006
  11. Linus TorvaldsJun 10, 2006
  12. Alex RiesenJun 10, 2006
  13. Linus TorvaldsJun 10, 2006
  14. Alex RiesenJun 10, 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.