> Well, I have the same issue right now on my dedicated webserver. > I've set PermitUserEnvironment and set UMASK=0002 in > ~/.ssh/environment, it does nothing. I'm searching on Google since a > while, I just find more frustrated users. > > > As I said before, try putting the umask in the scp user's .profile > file. That is, the user which is logged into, eg on the SCP/SSH server.
Doesn't work either. scp causes the shell to be spawned as non-interactive and thus that file and others aren't read. At least that's supposedly the explanation about why it doesn't. Regards, -mg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 225 bytes Desc: OpenPGP digital signature URL: <http://mail.opensolaris.org/pipermail/opensolaris-help/attachments/20081117/6511fd0e/attachment.bin>