UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Hi Guys,
I'm setting up an Ubuntu 11.04 server through terminal and have setup the FTP and a LAMP Stack with Wordpress.
I can login to ftp with a user I created with the home folder or WWW.
All good but I can't create folders, th error I get is 550 on FTP clients.
The vsftpd.conf file is all fine, Anon users prohibited and write enabled, I don't think the problem is there. I read about using setenforce 0 but that doesn't seem to work on my installation as the system doesn't seem to have setenforce. that if it was really the solution.
I'm new to this I have to say, I was hoping I get an answer on this forum.
Thanks
Okay, can the user log in locally? If so (of course) can (s)he make folders locally? Can these folders (on the same place) be made as well? Are you (the user) trying to make folders OUTSIDE your home folder? Every iser has a home folder, make that the first point of impact when a user logs in...
Maybe you're giving the user access to an other folder - I read
Quote:
with the home folder or WWW.
Snag, no user (leave the root) is allowed to "operate" in the www folder...
Thanks in a advance,
I'm actually managing a remote server, so not sure if "locally" is applciable here. I can access ftp through Cyberduck and through wordpress itself, the user seems to work but can't create folders.
When I login, I get a listing of all folders under /var and one of them is www. so, I guess I was wrong on that one.
So, After installing ftp, I only created one user with that home folder.
Does that help?
When I login, I get a listing of all folders under /var and one of them is www.
Okay, well, no user should be able to make any folders here, anyway. Unless you've been altering stuff, in that case, alter it back as this presents a security issue.
Quote:
So, After installing ftp, I only created one user with that home folder.
The desired behaviour is that the user ends up in his/her folder. There that user will be able to do everything needed...
Okay, well, no user should be able to make any folders here, anyway. Unless you've been altering stuff, in that case, alter it back as this presents a security issue.
Ok, So I want to be able to create folders through ftp inside www/wordpress, I'm the only user. Since it was altered before, I don't want to confuse things more. So if I am to create a new user who can add folders n www/wordpress what should I write in the terminal as parameters to adduser? From what you're saying it seems that my selection for the home folder is wrong and that should not be the case with a new user with the www/wordpress as a home folder.
The desired behaviour is that the user ends up in his/her folder. There that user will be able to do everything needed...
VSFTPD, good choice. I've got the same one here, we could compare notes...
Okay...so, you get in remotely...could you perhaps try with midnight Commander as well? It has a list structure and should show you where in the file system you are at the moment of login. Maybe you just "land" in the wrong place...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.