Created
February 26, 2010 14:46
-
-
Save stas/315765 to your computer and use it in GitHub Desktop.
VSFTPD.CONF for virtual users with write/read/delete permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# VSFTPD.CONF for virtual users with write/read/delete permissions | |
### | |
anonymous_enable=NO | |
local_enable=YES | |
write_enable=YES | |
local_umask=022 | |
xferlog_enable=YES | |
connect_from_port_20=YES | |
chown_uploads=YES | |
chown_username=www-data | |
async_abor_enable=YES | |
ftpd_banner=Welcome to some FTP service. | |
chroot_local_user=YES | |
secure_chroot_dir=/var/run/vsftpd | |
pam_service_name=vsftpd-users | |
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem | |
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key | |
guest_enable=YES | |
guest_username=www-data | |
local_root=/var/www/nowhere | |
hide_ids=YES | |
user_config_dir=/etc/vsftpd.users.d | |
dirlist_enable=YES | |
nopriv_user=www-data | |
pasv_min_port=12000 | |
pasv_max_port=12003 | |
virtual_use_local_privs=YES |
GnuTLS error -15: An unexpected TLS packet was received.
If you are using SELinux don't forget to set proper context as mentioned in http://serverfault.com/questions/522602/vsftpd-vitual-users-selinux. If GnuTLS error -15 occures, try disabling ssl and you get better error messages in ftp client log.
Thank you worked... my blog post shared..
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you. Really helped me.