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.