Set umask in sshd_config Subsystem sftp /usr/lib/openssh/sftp-server -u 027 Dont forget to restart your ssh server service sshd restart