diff options
| author | Nicolas Thill <nico@openwrt.org> | 2005-05-15 20:39:09 +0000 |
|---|---|---|
| committer | Nicolas Thill <nico@openwrt.org> | 2005-05-15 20:39:09 +0000 |
| commit | a5e6715d30c38f5bbecd0536e2730a9f822cb71b (patch) | |
| tree | 014346b1a8a0ae8cdb3a51cdd97df3a7e61bffd6 /openwrt/package/vsftpd/patches/chroot.patch | |
| parent | c6e5fd9193d6d28bc16a455d6a1c005a5a771627 (diff) | |
| download | mtk-20170518-a5e6715d30c38f5bbecd0536e2730a9f822cb71b.zip mtk-20170518-a5e6715d30c38f5bbecd0536e2730a9f822cb71b.tar.gz mtk-20170518-a5e6715d30c38f5bbecd0536e2730a9f822cb71b.tar.bz2 | |
Add vsftpd package
SVN-Revision: 913
Diffstat (limited to 'openwrt/package/vsftpd/patches/chroot.patch')
| -rw-r--r-- | openwrt/package/vsftpd/patches/chroot.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/vsftpd/patches/chroot.patch b/openwrt/package/vsftpd/patches/chroot.patch new file mode 100644 index 0000000..4c25736 --- /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"; |
