Merge pull request #24 from delfer/revert-22-master

Revert "add default chroot security"
This commit is contained in:
Alexander Chumakov 2021-03-23 13:54:31 +03:00 committed by GitHub
commit 3eed646b9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,13 +68,7 @@ ftpd_banner=Welcome Alpine ftp server https://hub.docker.com/r/delfer/alpine-ftp
# (Warning! chroot'ing can be very dangerous. If using chroot, make sure that # (Warning! chroot'ing can be very dangerous. If using chroot, make sure that
# the user does not have write access to the top level directory within the # the user does not have write access to the top level directory within the
# chroot) # chroot)
# #chroot_local_user=YES
# a combination of chroot_local_user=YES and allow_writeable_chroot=YES will
# setup default security, so users cannot escape their home directory
#
chroot_local_user=YES
allow_writeable_chroot=YES
#chroot_list_enable=YES #chroot_list_enable=YES
# (default follows) # (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list #chroot_list_file=/etc/vsftpd.chroot_list