Skip to content

Instantly share code, notes, and snippets.

@stas
Created February 26, 2010 14:46
Show Gist options
  • Save stas/315765 to your computer and use it in GitHub Desktop.
Save stas/315765 to your computer and use it in GitHub Desktop.
VSFTPD.CONF for virtual users with write/read/delete permissions
###
# 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
@kurtulusoz
Copy link

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