By apache I ment the httpd process's user. I don't mean your way won't work, but you give away unnecessary permissions - if the directory is owned by httpd, access rights 700 are enough, if the directory is not owned by httpd, you need at least 007

Dan Rossi wrote:

did u even read it ? chmod 777 + owned by httpd

-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 9:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Uploading Files Via PHP


On Thursday 27 March 2003 18:25, Marek Kilimajer wrote:


not necesserily both, either of them is enought:



Not quite true :)


If owned by 'httpd' then 'httpd' still needs write permission (o+w).



drwxrwxrwt    2 root     root       188416 Mar 27 11:23 /tmp
or
drwx------    2 apache     apache       188416 Mar 27 11:23
/var/www/uploads

daniel wrote:


possibly a permissions problem , dir needs to be 777 and owned by httpd







--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to