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