DHDAXCW-Rockchip-OpenWrt/package/lean/vsftpd-alt/patches/101-enable-chroot-on-writable-dir.patch
coolsnowwolf e575061c57 Revert "move lean packages to my packages feed"
This reverts commit 510d2c3e466e953eba52c1a7c4e1d423ee10e21f.
2018-10-19 13:06:16 +08:00

15 lines
316 B
Diff

--- a/secutil.c
+++ b/secutil.c
@@ -135,10 +135,12 @@
if ((options & VSF_SECUTIL_OPTION_CHROOT) &&
!(options & VSF_SECUTIL_OPTION_ALLOW_WRITEABLE_ROOT))
{
+ /*
if (vsf_sysutil_write_access("/"))
{
die("vsftpd: refusing to run with writable root inside chroot()");
}
+ */
}
}