banner => 'ftp.security.upload.debian.org FTP server',
logfile => '/var/log/ftp/vsftpd-security.upload.debian.org.log',
writable => true,
+ readable => false,
+ listable => false,
chown_user => dak-unpriv,
root => '/srv/security.upload.debian.org/ftp',
}
$chown_user='',
$writable=false,
$writable_other=false,
+ $readable=true,
+ $listable=true,
$banner="${name} FTP Server",
$max_clients=100,
$logfile="/var/log/ftp/vsftpd-${name}.debian.org.log",
anon_other_write_enable=YES
delete_failed_uploads=YES
<%- end -%>
+<%- if not scope.lookupvar('readable') -%>
+download_enable=NO
+<%- end -%>
+<%- if not scope.lookupvar('listable') -%>
+dirlist_enable=NO
+<%- end -%>
xferlog_enable=YES
xferlog_file=<%= scope.lookupvar('logfile') %>