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 |
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 |
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! :newbie: |
All times are GMT -5. The time now is 02:52 PM. |