Anyone know where SSH gets it's umask values from?
 
When I SSH to a box and type 'umask' it gives me 077 (depends on the box, it
may return 027), however if I run it on the command line "ssh boxname umask"
it returns 022 on every box.  When I do an scp, the file always drops with
027 unless I specify scp -p (preserve permissions) when I do it.  This is
consistent through all SSH servers.  The umask of 027 isn't in the source
anywhere, so I was wondering if anyone knew where it got this value.
Running on HP-UX.
 
Thanks,
-Ray

Reply via email to