Hi,
I am setting up a FTP server with vsFTPd which will also accept anonymous logins (but local users too). However, there seems to be some problem with the permissions of the directory separated only for anonymous users (which is /var/ftp/anon/).
The error happens just when write permissions are passed to all users (like chmod a+rwx /var/ftp/anon). When there is no write permission to all users the problem doesn't happens, but I can't write on the directory.
Could anyone help me in this configuration?
P.S.: When I log with a local user the FTP works fine.
Code:
# General
listen=YES
hide_ids=YES
max_per_ip=3
ftpd_banner=Welcome!
xferlog_enable=YES
connect_from_port_20=YES
write_enable=YES
chroot_local_user=YES
delete_failed_uploads=YES
local_enable=YES
log_ftp_protocol=YES
ftp_username=ftp
pam_service_name=vsftpd
secure_chroot_dir=/var/run/vsftpd/empty/
# Anonymous user config
anonymous_enable=YES
anon_upload_enable=YES
anon_root=/var/ftp/anon/
anon_mkdir_write_enable=YES