003-chroot.patch (459B)
1 --- a/tunables.c 2 +++ b/tunables.c 3 @@ -254,7 +254,7 @@ tunables_load_defaults() 4 /* -rw------- */ 5 tunable_chown_upload_mode = 0600; 6 7 - install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir); 8 + install_str_setting("/var/run/vsftpd", &tunable_secure_chroot_dir); 9 install_str_setting("ftp", &tunable_ftp_username); 10 install_str_setting("root", &tunable_chown_username); 11 install_str_setting("/var/log/xferlog", &tunable_xferlog_file);