FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old September 9th, 2003, 06:25 PM
mattlwaters mattlwaters is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Atlanta
Posts: 12 mattlwaters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ftp and redhat linux 9

I'm new to linux but have set up a web server. I have apache running, mysql and php installed. I can connect with proftpd from outside of the local machine but I can only make changes in the /home/mattlwaters folder. Everywhere else I get permission denied. I want to allow ftp to upload to the web directory /var/www/html/ . Also, I have some php scripts that need to be able to upload to certain directories but it refuses these also. If anyone can shed some light I would be in your debt.

Thanks,
Matt Waters

Reply With Quote
  #2  
Old September 9th, 2003, 06:58 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 h 10 m 2 sec
Reputation Power: 797
First check if your user ID has permissions to write to /var/www/html. That would be the #1 thing to check.

If you cannot cd to /var/www/html, then most likely you've chrooted your user ID to its home directory. See section 5.12 in http://www.proftpd.org/docs/faq/proftpdfaq-5.html and move your user ID to the correct directory, if necessary
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Last edited by Scorpions4ever : September 9th, 2003 at 07:01 PM.

Reply With Quote
  #3  
Old September 9th, 2003, 07:24 PM
mattlwaters mattlwaters is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Atlanta
Posts: 12 mattlwaters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how do I check ID permissions

Sorry to ask simple question, How do I check to see if that paticular user has write permissions to /var/www/html ?

Reply With Quote
  #4  
Old September 9th, 2003, 09:58 PM
mattlwaters mattlwaters is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Atlanta
Posts: 12 mattlwaters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I can CD to /var/www/html

I can cd to /var/www/html but can't write or execute in that directory.

Reply With Quote
  #5  
Old September 9th, 2003, 10:32 PM
mattlwaters mattlwaters is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Atlanta
Posts: 12 mattlwaters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can RWX on the directories

I figured out how to chmod the directories to allow rwx access to user, group and others. I'm still having problem with the php upload script. It says that it is copying to the /tmp folder which I made rwx for group and others but it is not appearing in that folder nor is it getting copied to the appropriate directory on the server. I've made that directory rwx as well. Here is the output when I'm running the upload script.

/tmp/phpqylOME
Sample.jpg9894image/pjpeg
Sample.jpg has been uploaded

but it isn't uploaded. Any clues are appreciated.


Matt

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > ftp and redhat linux 9


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway