LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-12-2005, 10:56 PM   #1
jajtiii
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
FTP Config


I have just set up my first linux box and now want to configure an FTP server to allow me to connect as my user account and subsequently upload files to /var/www/html. Everything is working fine, execpt for where i can upload.

I have tried vsftp and, now, pure-ftp. I simply want the user to be able to upload files to the wwwroot directory.

Right now, I can only upload files to my user home directory.

Permissions are set to 775, with my user group as the owner in the /var/www/html dir.

I am about 2 days odl to linux and am now guessing that I must be missing someting.

Again, FTP connections work fine. I can even upload to my home dir. But, now I want to upload to other places. How do I do that?

thx
 
Old 12-13-2005, 07:21 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
There maybe better solutions out there, but I have a suggestion that may work for you. Why not create a user whos home dir is /var/www/html and has write permissions to that directory. Vsftpd will automatically chroot that user to /var/www/html when they login (if you have allowed chrooting in the config file).
 
Old 12-13-2005, 08:26 AM   #3
jajtiii
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
That sounds promising and I will try that.

But, I now want to take it one step further. This linux box is simply a dev box sitting in an isolated environment. After I work all day, I am in no mood to sit in front of some box and mess around with it.

Instead, I would simply like to lay on my couch with my laptop (w/wireless connection to my home network) and monkey around with the linux server from there.

I discovered Putty, which is assists me in doing some of the things I am doing. But, I would like to be able to use FTP do download/upload config files (those in /etc) and other files.

On our Solaris boxes at work, all users have a Home Directory and many admins can FTP to and from nearly the entire file structure. This is what I am trying to replicate on my home box.

Any help would be appreciated.

jt
 
  


Reply



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
Slackware 10 ftp server config Maze the Kid Linux - Software 2 04-04-2005 07:12 AM
FTP config problems maximyus Linux - Networking 2 01-06-2005 11:52 PM
About Proftpd ftp server config tommyliu Linux - Newbie 2 06-13-2004 11:39 AM
ftp config supermax Linux - Software 4 08-06-2003 09:04 PM
config ftp jetfreggel Linux - Newbie 4 08-09-2002 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration