There will have to be directories on the server with permissions allowing these writes: By default, this will not be the case. We cannot stress enough the dangers of allowing anonymous

FTP writes unless you have thought carefully about what you are doing. In particular, the writeable directory certainly should not be the root of the FTP directory structure /srv/ftp/. You should also consider creating a write-only setup, by creating a directory such as /srv/ftp/incoming/ owned by user ftp and group ftp, and with restrictive permissions. The permissions on this directory should not allow others to write to it or list it. In fact, the setup works fine if you set permissions 300 on /srv/ftp/incoming/.

Listing the root FTP directory now shows:

Was this article helpful?

0 0

Post a comment