From: Linus Torvalds Date: Sat, 10 Jun 2006 21:41:52 GMT Subject: Re: Git-daemon messing up permissions for gitweb Message-ID: 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