LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices

Reply
 
Search this Thread
Old 10-22-2006, 09:48 AM   #1
briansaysword
Member
 
Registered: Sep 2006
Location: my house
Distribution: slackware 10.2
Posts: 31

Rep: Reputation: 15
change ftp directory??


i got vsftp all installed and everything, i was just wondering how i would go about making it so i can upload stuff to my htdocs folder for apache.

any help would be greatly appreciated, thanks.
 
Old 10-22-2006, 11:00 AM   #2
diilbert
Member
 
Registered: Nov 2003
Location: North of the Border
Distribution: Gentoo & Debian
Posts: 155

Rep: Reputation: 30
I use vsftp and it is documented fairly thoroughly. Check out their docs. As for accessing your apache webroot, make sure that the user you are logging in as has read/write access to documents and make sure they are not chrooted. Or you could add a system user that has the webroot as their home directory and make them chrooted their. On most boxes the webroot for that user is in their ~/ directory so that they can be safely chrooted there.

I hope some of that helped.
 
Old 10-22-2006, 11:41 AM   #3
briansaysword
Member
 
Registered: Sep 2006
Location: my house
Distribution: slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
im pretty new to linux, so i have no idea what all that is....
sorry,
 
Old 10-22-2006, 12:19 PM   #4
diilbert
Member
 
Registered: Nov 2003
Location: North of the Border
Distribution: Gentoo & Debian
Posts: 155

Rep: Reputation: 30
I would start with the vsftpd website for information or try proftpd which is a little better documented.
 
Old 10-22-2006, 12:23 PM   #5
nayyares
Member
 
Registered: Oct 2006
Location: JNB, SA
Posts: 33

Rep: Reputation: 15
Hi,

There are few things you have to carry, first give permission to your ftp-user (who will upload files) on htdocs directory and then in vsftpd.conf uncomment the chown_upload and even if you want for anonymous to upload in that directory then make htdocs world-writable and uncomment anon_upload in vsftpd.conf file.

hope answer the question.

thanks
 
Old 10-22-2006, 11:44 PM   #6
briansaysword
Member
 
Registered: Sep 2006
Location: my house
Distribution: slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
thanks guys i got it working
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp 500 OOPS: cannot change directory yhus Linux - Networking 24 03-24-2013 09:41 PM
"550 Failed to change directory." with FTP PDAquila Linux - General 1 05-23-2006 01:57 AM
Automatically Copying files from the ftp directory into the html directory swatward Linux - General 3 04-17-2005 10:55 PM
FTP Change Directory Permissions rubbercash Linux - Networking 5 07-29-2004 04:54 PM
Can not change directory when ftp tradewind Linux - Newbie 2 06-09-2004 05:03 AM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration