automatic setup for anonymous access
Thanks @stilliard for the nice work.
Based on the provided instructions, I'm trying to set up anonymous access via -e only to stumble on error 421 Unable to set up secure anonymous FTP. Thankfully #43 provided the needed help:
useradd -d /var/ftp -s /sbin/nologin ftp
Would it be possible to have this done automatically, say based on the presence of the -e flag?
Alternatively, anonymous access could be a separate section in README.md, since the _NAME, _PASS and _HOME don't seem to be needed, though with a warning message though about _HOME.
Hi @mihai-sysbio
That's a great idea, I don;y use anonymous access much but if you do then you'd probably be the best person to add this to the README, same with detecting it and auto adding it in the run.sh I think would be a great idea too.
Happy to accept any pull requests for this :+1:
Hey @stilliard and @mihai-sysbio, I just submitted PR #152 to attempt this. I had to set the permissions for the /var/ftp directory to very permissive (777) to get this to work for me. My use case is that I want to surface a static set of files via anonymous ftp and this seems to be working. Please let me know your thoughts!