vsftpd: Move ftp dir into subdir of home

This commit is contained in:
Alexander Kobjolke 2024-12-17 02:50:50 +01:00
parent 65e8138c06
commit c256cf8f02

View file

@ -5,11 +5,10 @@
localUsers = true;
writeEnable = true;
chrootlocalUser = true;
allowWriteableChroot = true;
userDbPath = "/etc/vsftpd/users";
enableVirtualUsers = true;
virtualUseLocalPrivs = true;
localRoot = "/var/lib/vsftpd";
localRoot = "/var/lib/vsftpd/data";
};
config.networking.firewall.allowedTCPPorts = [ 20 21 ];