I restarted ssh after each attempt. In both cases when I upload a file with the SFTP user it gets 644 permissions. I am not trying to chroot the user. OK so I think I understand what is going on. The ...