Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatic setup for anonymous access #144

Open
mihai-sysbio opened this issue Aug 24, 2020 · 2 comments
Open

automatic setup for anonymous access #144

mihai-sysbio opened this issue Aug 24, 2020 · 2 comments

Comments

@mihai-sysbio
Copy link

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.

@stilliard
Copy link
Owner

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 👍

brandonmcclure added a commit to brandonmcclure/docker-pure-ftpd that referenced this issue Dec 21, 2020
@brandonmcclure
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants