Blame SOURCES/0038-Document-allow_writeable_chroot-in-the-man-page.patch

d7fdbd
From 35ec3be5427a54facd5f6299fda2da4c146d4846 Mon Sep 17 00:00:00 2001
d7fdbd
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
d7fdbd
Date: Fri, 24 Nov 2017 11:22:43 +0100
d7fdbd
Subject: [PATCH 38/59] Document allow_writeable_chroot in the man page
d7fdbd
d7fdbd
---
d7fdbd
 vsftpd.conf.5 | 9 +++++++++
d7fdbd
 1 file changed, 9 insertions(+)
d7fdbd
d7fdbd
diff --git a/vsftpd.conf.5 b/vsftpd.conf.5
d7fdbd
index 45b3f9c..d1f0db5 100644
d7fdbd
--- a/vsftpd.conf.5
d7fdbd
+++ b/vsftpd.conf.5
d7fdbd
@@ -56,6 +56,15 @@ Only applies if
d7fdbd
 is active. If set to YES, anonymous users will be allowed to use secured SSL
d7fdbd
 connections.
d7fdbd
 
d7fdbd
+Default: NO
d7fdbd
+.TP
d7fdbd
+.B allow_writeable_chroot
d7fdbd
+Allow chroot()'ing a user to a directory writable by that user. Note that
d7fdbd
+setting this to YES is potentially dangerous. For example, if the user
d7fdbd
+creates an 'etc' directory in the new root directory, they could potentially
d7fdbd
+trick the C library into loading a user-created configuration file from the
d7fdbd
+/etc/ directory.
d7fdbd
+
d7fdbd
 Default: NO
d7fdbd
 .TP
d7fdbd
 .B anon_mkdir_write_enable
d7fdbd
-- 
d7fdbd
2.14.4
d7fdbd