Re: Uploading help

From: Date: Wed, 30 Apr 2003 18:57:51 +0000
Subject: Re: Uploading help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145841@lists.php.net to get a copy of this message
On Thursday 01 May 2003 02:34, Vam wrote: > I did copy and it gave me a similar error: > > Warning: copy(/home/mydir/UPLOADS/TEMP-ing.txt) > [function.copy]: failed to create stream: Permission > denied in /usr/local/apache/htdocs/Upload.php on line > 33 > > Any ideas - I know that the script owner must be the > same as the destination directory...but I tried making > them both 'nobody' and 'other'. neither worked.. Try searching the archives! The user running the webserver (on RH8 this should be apache) needs to have execute permissions on all the directories upto and including the destination directory AND it needs write permissions on the destination directory. If you're still having problems show the output of: ls -lad /home/ ls -lad /home/mydir/ ls -lad /home/mydir/UPLOADS/ -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Fanaticism consists of redoubling your effort when you have forgotten your aim. -- George Santayana */

« previous php.general (#145841) next »