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.
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.
I have a LAMP server running. Currently there are not vhosts, just the basic single site apache2 running a web app.
I want to set up ftp access to the www root, but my attempts have failed.
When I try to ftp using the user I created, I get dumped in the users home directory. I can also browse the entire file system. What I can't do is upload content to the www root. I get permission errors.
How can I set ftp up to allow a user to access the www root only?
Any help or links would be appreciated.
You didn't say what distro and ftp server you're using, so we can help you better on this.
Anyway, you can modify the existing user and set his homedir to be the document root of your webserver.
I am using Ubuntu 10.04 64 bit using proftp as the ftp server.
I have uninstalled proftp, so right now I have no ftp server installed.( I want to start from scratch so I better understand the steps that need to be taken.
I am a novice, so forgive me for not knowing how to set a homedir or modify permissions.