Main / Ftp
Basic Commandsdelete <filename> vsftpd QuirksThe default configuration /etc/vsftd.conf file does not even include the option that lets anonymous users delete file and directories. It is anon_other_write_enable=YES Make the following changes to /etc/vsftpd.conf to get anon fully capable: local_enable=YES write_enable=YES anon_upload_enable=YES anon_mkdir_write_enable=YES anon_other_write_enable=YES Note that when an anonymous user connects, the server gives him the username ftp by default and uses chroot to give him a root dir under /srv/ftp. vsftpd by default does not allow writing to this root dir, and will complain if you try changing permissions on the /srv/ftp dir. There looks to be a mechanism where you can disable this and stop the complaints, but another option is to just create a folder under /srv/ftp/ that is owned by the user ftp and then the anonymous arrival has to do everything inside that folder instead. Seems crazy, but without the assist you stick the client inside a jail in which they have no permissions to anything. |