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, 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