Re: Uploading Files Via PHP

From: Date: Thu, 27 Mar 2003 11:13:37 +0000
Subject: Re: Uploading Files Via PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141208@lists.php.net to get a copy of this message
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:php-general@gremlins.biz] Sent: Thursday, March 27, 2003 9:40 PM To: php-general@lists.php.net 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
     


« previous php.general (#141208) next »