aboutsummaryrefslogtreecommitdiffstats
path: root/package/vsftpd/patches/chroot.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-15 20:39:09 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-15 20:39:09 +0000
commit172dca5aa6e6d27ec7900644b2d492b3cdd4bccd (patch)
treea46173845e125cac6d2353fa5bc7119738f86d55 /package/vsftpd/patches/chroot.patch
parent4eddce762d46dfe00af99b6e51762b3aa79796da (diff)
downloadupstream-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.tar.gz
upstream-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.tar.bz2
upstream-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.zip
Add vsftpd package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@913 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/vsftpd/patches/chroot.patch')
-rw-r--r--package/vsftpd/patches/chroot.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/vsftpd/patches/chroot.patch b/package/vsftpd/patches/chroot.patch
new file mode 100644
index 00000000000..4c25736242d
--- /dev/null
+++ b/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";