mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
15 lines
316 B
Diff
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()");
|
|
}
|
|
+ */
|
|
}
|
|
}
|