LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2006, 01:45 PM   #1
jss6269
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: Disabled
Proftpd setup issues on Mandrake 10.1 with Apache 2


Hey everyone,

First, Thank you! for being here to help us newbies, we really do appreciate it.

A brief History:

I have been running Apache 2 on W2K for years, finally I'm ready to move into a more professional arena and have installed Mandrake 10.1 to get me there. I have successfully set up the Apache server and have a moderate comfort/understanding of the Linux world.

The Problem:

I have installed and setup Proftpd and it is running ok but I am unable to redirect the root directory to /var/www/html where the web site files reside. Upon connecting I am given a permissions error from my ftp client. I think this is related to the directory permissions on the folder, presently the owner is listed as "Apache". If it sounds like I'm right, how do I change the permissions without interfering with the operations of the web server?

Thanks so much for your help in advance.
Jeffery
 
Old 02-26-2006, 02:02 PM   #2
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
Generally, what you do is uplaod your files ~user/public_html and then point Apache to that. However, if you wish to change the file-ownerships of the directory:

Code:
chown -R user:group /var/www/html
Never login through FTP as root.
 
Old 02-27-2006, 09:19 AM   #3
jss6269
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: Disabled
Tried and failed

Thanks for the advice!

I created the directory as you suggested, rather than changing the permissions in the Var/www/html folder. I received the same error from my ftp client. I know I'm not far off in thinking the issue is permissions related, but my knowledge of Linux is limited. I figured there must be a reason why it is customary to not use the default directory for html files and uploading, so I would like to try and make your suggestion work. Do I need to do the same command on ~user/public_html directory? Presently I am listed as owner but logging in with my credentials from the FTP client fails.

Thanks so much for all your help!
 
  


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
Issues with Proftpd.. sspiro Linux - Networking 5 09-12-2005 01:06 PM
how to setup proftpd newbie007007 Linux - Networking 1 12-14-2004 03:08 PM
Proftpd Issues elderain Linux - Newbie 2 03-08-2004 06:56 PM
Apache 2.0.47 and Mandrake issues optikool Linux - Software 1 10-07-2003 01:17 AM
Proftpd Setup Help Evilone Linux - Networking 4 01-14-2003 01:20 PM


All times are GMT -5. The time now is 10:09 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration