Thread (4 messages) flat view 4 messages, 3 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 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help