From 107f768f44d1a45e6ca2387db2d77d6f373a9136 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 7 Sep 2017 14:43:51 +0200 Subject: [PATCH] add IgnoreSCPUploadPerms & IgnoreSFTPUploadPerms to SFTPOptions --- rootfs/etc/confd/templates/proftpd.conf.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/confd/templates/proftpd.conf.tmpl b/rootfs/etc/confd/templates/proftpd.conf.tmpl index 432fdc8..a546591 100644 --- a/rootfs/etc/confd/templates/proftpd.conf.tmpl +++ b/rootfs/etc/confd/templates/proftpd.conf.tmpl @@ -3,7 +3,7 @@ ServerType standalone DefaultServer on Port 22 UseIPv6 off -Umask 0006 0007 +Umask 006 007 MaxInstances 30 User proftpd Group proftpd @@ -25,6 +25,7 @@ LoadModule mod_sftp.c SFTPAuthMethods password SFTPDHParamFile /etc/proftpd/keys/dhparams.pem SFTPHostKey /etc/proftpd/keys/ssh_rsa_key + SFTPOptions IgnoreSCPUploadPerms IgnoreSFTPUploadPerms