Sftp change file permissions

Hi All,

Apologies if this question has been asked before. I havent been able to resolve an issue and would like some help.

I am getting files pushed to me via sftp. The files once pushed to my server in folder ABC have -rw------- but I need these files to have the following -rw-rw---- to be able to processed.

I've tried adding the following to my sshd_config

Subsystem sftp /usr/libexec/openssh/sftp-server -m660

but this does not make any difference. Can some please help?

The remote user (job script) - can it be changed to add, after the sftp section completes:

ssh localserver  'chmod 660 /path/to/file/filename.dat'