Unable to set umask on directories which are uploaded via SFTP

Solution Verified - Updated -

Issue

  • Unable to set umask on directories uploaded via SFTP, even if set umask configuration in /etc/ssh/sshd_config as below.
Subsystem       sftp    /usr/libexec/openssh/sftp-server -u <umask>

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In