3
1
When I'm copying files from my Windows box to a Linux box using cygwin's scp
, the permissions come out as 000
. This doesn't happen when I copy from Linux to Linux, so I'm thinking it's related to some configuration on my Windows box. But where is that configuration?
Edit: Under bash
, umask
prints 0022
. The behavior of scp
is the same, whether I'm running bash
or CMD
.
This worked for me. Transfered files no longer have 000 mode. Not sure why this doesn't have more upvotes. – David Roussel – 2015-04-17T10:22:42.873