Hi,
I have setup users with sshd's ChrootDirectory and additionally have setup Subsystem internal-sftp for sftp-chroot.
When I login with ssh, the umask (setup via a special class in login.conf works.
When I login via sftp, it does not work, files are still only writable by the current user (should be group-writable)
Why is this?
I tried copying the login.conf* files from /etc into the chrooted etc, but that did not help, either.
I have setup users with sshd's ChrootDirectory and additionally have setup Subsystem internal-sftp for sftp-chroot.
When I login with ssh, the umask (setup via a special class in login.conf works.
When I login via sftp, it does not work, files are still only writable by the current user (should be group-writable)
Why is this?
I tried copying the login.conf* files from /etc into the chrooted etc, but that did not help, either.