> The one thing I see offhand is that using the -p
> option with scp should cause the
> original permissions to be preserved; otherwise, scp
> uses whatever umask
> it inherits (from the calling program on the local
> side probably, or from sshd on
> the remote side?); Sun's sshd I think uses UMASK=
> from /etc/default/login,
> or defaults to 022 if that isn't set.
> 
> That's all from a _very_ quick look at the code...I
> don't claim I got it right,
> and I didn't look at sftp.

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.

-mg
-- 
This message posted from opensolaris.org

Reply via email to