packages/net/vsftpd/patches/003-chroot.patch
jow f44fb45149 [packages] vsftpd: override LDFLAGS as well to avoid -fpic requirement, refresh patches (#11263)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 14:54:07 +00:00

12 lines
459 B
Diff

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