packages/net/vsftpd/patches/003-chroot.patch
florian 93345fb2f8 [package] update vsftpd to 2.1.2 (#5647)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 10:25:28 +00:00

12 lines
459 B
Diff

--- a/tunables.c
+++ b/tunables.c
@@ -244,7 +244,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);