Force file permission in SFTP
Hi I am trying to set permission "644" for all the files received from sftp.
In Linux there is a option to set in /etc/ssh/sshd_config as;
ForceCommand internal-sftp -m 644
But in solaris this "-m" option is not available.
Is there a workaround for this?
Please not that use of umask (-u) is not helpful in this situation since I need to increase the permission.
Thanks,
Dinaj