add IgnoreSCPUploadPerms & IgnoreSFTPUploadPerms to SFTPOptions

This commit is contained in:
Sebastian Hugentobler 2017-09-07 14:43:51 +02:00
parent 439cc308ed
commit 107f768f44

View File

@ -3,7 +3,7 @@ ServerType standalone
DefaultServer on DefaultServer on
Port 22 Port 22
UseIPv6 off UseIPv6 off
Umask 0006 0007 Umask 006 007
MaxInstances 30 MaxInstances 30
User proftpd User proftpd
Group proftpd Group proftpd
@ -25,6 +25,7 @@ LoadModule mod_sftp.c
SFTPAuthMethods password SFTPAuthMethods password
SFTPDHParamFile /etc/proftpd/keys/dhparams.pem SFTPDHParamFile /etc/proftpd/keys/dhparams.pem
SFTPHostKey /etc/proftpd/keys/ssh_rsa_key SFTPHostKey /etc/proftpd/keys/ssh_rsa_key
SFTPOptions IgnoreSCPUploadPerms IgnoreSFTPUploadPerms
</IfModule> </IfModule>
<IfModule mod_ldap.c> <IfModule mod_ldap.c>