lede/package/lean/vsftpd-alt/patches/101-enable-chroot-on-writable-dir.patch
2017-09-07 00:13:23 +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()");
}
+ */
}
}