SFTP file upload permissions in RHEL 8+ are not reflecting expected umask for /bin/ksh user.

Solution Verified - Updated -

Issue

  • Files transferred via sftp to an openssh sftp server are not adhering to the configured user umask settings for users configured to use /bin/ksh as a shell.

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • openssh sftp-server
  • ksh

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content