aboutsummaryrefslogtreecommitdiff
path: root/net/vsftpd/patches/003-chroot.patch
blob: 355e219f750f639c5689b989647469fc4e99e419 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/tunables.c
+++ b/tunables.c
@@ -261,7 +261,7 @@ tunables_load_defaults()
   /* -rw------- */
   tunable_chown_upload_mode = 0600;
 
-  install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir);
+  install_str_setting("/var/run/vsftpd", &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);