I need to deploy an FTP server for intranet usages (anonymous only) and I've selected Vsftpd who seems to be easy to configure. Here's my configuration :
listen=YES
local_enable=NO
write_enable=YES
anonymous_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
no_anon_password=YES
anon_root=/srv/ftp/anon
And the directories permissions :
drwxr-xr-x 3 root root 4096 déc. 20 16:00 srv
r-xr-xr-x 3 root root 4096 déc. 20 16:03 ftp
dr-xr-xr-x 2 root root 4096 déc. 20 16:03 anon
With this configuration I'm able to connect as anonymous and consult /srv/ftp/anon content, download files but unable to upload anything, create folders or delete files (errors 530 & 550). Vsftpd log file is not so explicit and didn't help. I've also tried to change anon to 777, but it results as 500 OOPS: vsftpd: refusing to run with writable root inside chroot() when I tried to connect to the server.
Thank you :)