When creating a file in a directory mounted via SSH, files are created with 700 permissions instead of 770 or 760 or whatever the default is.