Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Both produce the same error and refuse any ftp commands. I gather there's a data channel, and a (separate) command channel which complicates the ftp protocol, but I couldn't link that to a config setting. Can anyone spot the obvious gaffes in either config? Thx.
For testing purposes I would make two changes, disable chroot_local_users and the secure_chroot_dir must be an empty directory where the FTP user does not have write permissions. This should allow regular users to login and be in their home directory.
sudo /usr/sbin/vsftpd &
[2] 9771
[1] Exit 2 /usr/sbin/vsftpd
bash-5.1$ 500 OOPS: could not bind listening IPv4 socket
Was vsftpd already running? If so it would automatically quit and the results are as expected.
I have a debian 10 VM with vsftpd running and symlinks work as expect. If chroot_local_user is still enabled symlinks do not work.
vsftpd default configuration file is /etc/vsftpd.conf, if different make sure it is a command line option.
I don't think it was running, as I've been killing it & restarting with changes to config. I know as it's a server, 'kill -hup' should have made it re-read it's config file. I'm sticking with one instance & standard config in /etc/vsftpd.conf, and no options on the command line. All the config files have to be root owned, don't they?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.