Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to linux. I have a server that I have successfully installed Debian Lenny on and everything else needed for a LAMP server.

But I am unsure how to setup FTP. My first attempt went horribly wrong had a load of permission issues.

How can I give full read/write access to my WWW folder.

The more in-depth the answer the better. I feel like such a noob.

share|improve this question

migrated from Feb 25 '10 at 18:25

This question came from our site for professional and enthusiast programmers.

What kind of FTP server do you use? – pako Feb 25 '10 at 17:34

Remember, SFTP is NOT FTP over SSH. To configure SFTP you need to do it through the ssh configuration file. Also, you need to make sure you have the proper permission on your folder. It is not wise to supply FULL access to anything, make sure you do it wisely. This should help you with fundamentals.

share|improve this answer

This should give you what you need. [edit] Actually your question refers to SFTP. Your box will already have sshd running which will be usable for SFTP. Look in /etc/ssh/sshd_config for server configuration. Or refer to the link if you meant FTPd (which IMHO you shouldn't be using in this day and age).

Further, if you want to allow access to a folder, you may want to check this out.

share|improve this answer
How do I give the user root ftp access – Anonymous Feb 25 '10 at 17:38


scp file.tgz root@the.ipof.your.server:/root/file.tgz

You do not want root to be able to login to a public FTP server :)

share|improve this answer

You must log in to answer this question.