How to setup umask on chroot jail sftp upload?

Solution Verified - Updated -

Issue

  • How to setup umask on chroot jail sftp upload?
  • How to setup chroot for sftp
  • How can I chroot with sftp?
  • Is there anyway to set the default umask for files coming in via sftp?

Environment

  • Red Hat Enterprise Linux 6
  • openssh-5.3p1-52.el6_1.2.x86_64
  • openssh-clients-5.3p1-52.el6_1.2.x86_64
  • openssh-server-5.3p1-52.el6_1.2.x86_64

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