The Linux umask setting plays a big role in determining the permissions that are assigned to files that you create. But what’s behind this variable, and how do the numbers relate to settings like rwxr ...
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 ...
umask works backwards from 666 on files (and from 777 on directories). So a mask of 002 works out to a file with permission 664. <BR><BR>Which is exactly what RHEL is giving you.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results