Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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

4 Answers 4

Check out the following link:

http://www.debian-administration.org/article/Setting_up_an_FTP_server_on_Debian - Setting up an FTP server on Debian

share|improve this answer

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. www.linux-tutorial.net

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

Try:

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.