Make SFTP and umask working
In your file /etc/ssh/sshd_config use this line for SFTP working with custom umask :
Subsystem sftp /bin/sh -c 'umask 0002; exec /usr/lib/openssh/sftp-server'
In your file /etc/ssh/sshd_config use this line for SFTP working with custom umask :
Subsystem sftp /bin/sh -c 'umask 0002; exec /usr/lib/openssh/sftp-server'
leave a comment