|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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 ?
|
|
#4
|
|||
|
|||
|
I can CD to /var/www/html
I can cd to /var/www/html but can't write or execute in that directory.
|
|
#5
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > ftp and redhat linux 9 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|