Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Grateful doesn't figure; helping someone else out does.
My guess (I don't know vsftpd) is that you don't have write permission on the ftp server when logged in as anonymous; you probably need to log in to the ftp server as a known user. anonymous does have read permission which is why you can get/download OK.
If you really want anonymous to have write permission then it may be configurable but it's wide-open security-wise; that may not matter in your particular situation.
Grateful doesn't figure; helping someone else out does.
My guess (I don't know vsftpd) is that you don't have write permission on the ftp server when logged in as anonymous; you probably need to log in to the ftp server as a known user. anonymous does have read permission which is why you can get/download OK.
If you really want anonymous to have write permission then it may be configurable but it's wide-open security-wise; that may not matter in your particular situation.
the thing is normal users cannot upload as well. dunno why.. permission i set all to 777 already. seems so weird that it keep coming:
227 Entering Passive Mode (10,0,0,1,225,163)
553 Could not create file.
Maybe the log files reveal something. Seem to remember that there is something like vsftp.log and maybe something like transfer.log, somewhere in /var.
You wrote that you have set everything to 777. What directory locations have been made writeable exactly? For logged in users the home directories should be accessed, for anonymous users it's rather /var/ftp/pub/ or some similar location.
In your config file you have commented out chown_uploads and chown_username - I would run a test with these enabled. Not being able to upload even for logged users indicates that the ftp server somehow doesn't deal correctly with chown issues.
thanks everyone! i haf solved my problem... looks like i did not configure the firewall correctly in the setup.. that results in my failure in putting greetings to the ftp directory. thank u for your solutions though!
thanks everyone! i haf solved my problem... looks like i did not configure the firewall correctly in the setup.. that results in my failure in putting greetings to the ftp directory. thank u for your solutions though!
Thank you for posting the solution; it may help somebody. Please mark the thread solved via Thread Tools.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.