Solved ftpd info

This wasn't obvious to me at all, I figure I'll post the solution here.

If anonymous ftp users are having trouble modifying files with the ftpd daemon, assuming all permissions are set correctly, you need to set a flag option in rc.conf or initd.conf [this assumes ftpd is used as a fileserver on a private network, behind a firewall].

I got this solution from DragonflyBSD.

from ftpd(8):
Code:
-m      Permit anonymous users to overwrite or modify existing files if allowed by file system permissions.
           By default, anonymous users cannot modify existing files; in particular, files to upload will be created under a unique name.

So in rc.conf add:
Code:
ftpd_enable="YES"
ftpd_flags="-m"

There, now no need to download any third party software.
 
Back
Top