From 1e6617a93fcb0a411301a9e950263258cad22d41 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 15 May 2005 20:39:09 +0000 Subject: Add vsftpd package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@913 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/vsftpd/patches/chroot.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openwrt/package/vsftpd/patches/chroot.patch (limited to 'openwrt/package/vsftpd/patches/chroot.patch') diff --git a/openwrt/package/vsftpd/patches/chroot.patch b/openwrt/package/vsftpd/patches/chroot.patch new file mode 100644 index 000000000..4c2573624 --- /dev/null +++ b/openwrt/package/vsftpd/patches/chroot.patch @@ -0,0 +1,12 @@ +diff -ruN vsftpd-1.2.2-orig/tunables.c vsftpd-1.2.2-3/tunables.c +--- vsftpd-1.2.2-orig/tunables.c 2004-04-20 02:25:05.000000000 +0200 ++++ vsftpd-1.2.2-3/tunables.c 2005-03-09 21:12:35.000000000 +0100 +@@ -78,7 +78,7 @@ + unsigned int tunable_max_per_ip = 0; + unsigned int tunable_trans_chunk_size = 0; + +-const char* tunable_secure_chroot_dir = "/usr/share/empty"; ++const char* tunable_secure_chroot_dir = "/var/run/vsftpd"; + const char* tunable_ftp_username = "ftp"; + const char* tunable_chown_username = "root"; + const char* tunable_xferlog_file = "/var/log/xferlog"; -- cgit v1.2.3