Blame SOURCES/1507143-mpo-7.5.0-vsftpd.conf.5.patch

46d625
From 97f21ce933af151c0951d79f73233177d9a6f202 Mon Sep 17 00:00:00 2001
46d625
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
46d625
Date: Wed, 1 Nov 2017 16:35:56 +0100
46d625
Subject: [PATCH 3/4] vsftpd.conf.5: document allow_writeable_chroot option
46d625
46d625
---
46d625
 vsftpd/man5/vsftpd.conf.5 | 9 +++++++++
46d625
 1 file changed, 9 insertions(+)
46d625
46d625
diff --git a/vsftpd/man5/vsftpd.conf.5 b/vsftpd/man5/vsftpd.conf.5
46d625
index c7642ce..f50c9c7 100644
46d625
--- a/vsftpd/man5/vsftpd.conf.5
46d625
+++ b/vsftpd/man5/vsftpd.conf.5
46d625
@@ -58,6 +58,15 @@ connections.
46d625
 
46d625
 Default: NO
46d625
 .TP
46d625
+.B allow_writeable_chroot
46d625
+Allow chroot()'ing a user to a directory writable by that user. Note that
46d625
+setting this to YES is potentially dangerous. For example, if the user
46d625
+creates an 'etc' directory in the new root directory, they could potentially
46d625
+trick the C library into loading a user-created configuration file from the
46d625
+/etc/ directory.
46d625
+
46d625
+Default: NO
46d625
+.TP
46d625
 .B anon_mkdir_write_enable
46d625
 If set to YES, anonymous users will be permitted to create new directories
46d625
 under certain conditions. For this to work, the option
46d625
-- 
46d625
2.13.6
46d625