What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

vsftpd anon_root ineffective

Kevin K

Regular Contributor
I can't get anon_root to work for vsftpd. It seems to set the default directory, but an anonymous FTP user can chdir out of it.

Here's /jffs/configs/vsftpd.conf.add:
anon_root=/mnt/sony-thumb
no_anon_password=YES
ftpd_banner=Zing. You got here.


The other options work, so I know my vsftpd.conf.add is being processed.

How can I limit anonymous FTP users to my sony-thumb drive?
 
Asuswrt's implementation of vsftpd is completely non-standard, particularly how it handles user accounts. For example, all logged in users run as uid 1. So don't assume that just because something works in a "normal" vsftpd setup that it will work in Asuswrt, because it probably won't.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top