File Permissions Changing When Uploading Files to a Specific Directory via SFTP
Issue
-
When files are uploaded to a specific directory via SFTP, the file permissions change to 700.
-
The umask is set as follows:
-bash-4.4$ umask
0022
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.