void-packages/srcpkgs/vsftpd/patches/003-chroot.patch
2015-12-04 06:33:50 +01:00

11 lines
527 B
Diff

--- tunables.c.orig 2015-12-03 23:13:22.888994282 +0100
+++ tunables.c 2015-12-03 23:13:33.716994236 +0100
@@ -254,7 +254,7 @@ tunables_load_defaults()
/* -rw------- */
tunable_chown_upload_mode = 0600;
- install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir);
+ install_str_setting("/var/empty", &tunable_secure_chroot_dir);
install_str_setting("ftp", &tunable_ftp_username);
install_str_setting("root", &tunable_chown_username);
install_str_setting("/var/log/xferlog", &tunable_xferlog_file);