From: Alex Riesen Date: Sat, 10 Jun 2006 22:30:53 GMT Subject: Re: Git-daemon messing up permissions for gitweb Message-ID: <20060610223053.GC5825@steel.home> In-Reply-To: Linus Torvalds, Sat, Jun 10, 2006 23:41:52 +0200: > > > > ~/.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. Right, it doesn't. I should have tried ~/.ssh/rc with umask, really. Because of this it can't be used for environment too (that's why they have ~/.ssh/environment).