as default root directory for vsftpd is located in /var/ftp/pub/. to change the defaults do this step :
# /etc/vsftpd/vsftpd.conf
add the line below
anon_root = your_directory
example
anon_root = /home/user/ftp/
# /etc/selinux/config
set selinux to disable/permissive mode
# /etc/vsftpd/vsftpd.conf
add the line below
anon_root = your_directory
example
anon_root = /home/user/ftp/
# /etc/selinux/config
set selinux to disable/permissive mode
Comments
Post a Comment