RE: [PHP4BETA] UID PHP running on????
| From: | Samuel Liddicott | Date: | Wed, 24 Nov 1999 10:47:37 +0000 |
| Subject: | RE: [PHP4BETA] UID PHP running on???? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6839@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Remco van den Berg [mailto:RvdBerg@dse.nl]
> Sent: Tuesday, November 23, 1999 10:53 PM
> To: Mailing list PHP4
> Subject: [PHP4BETA] UID PHP running on????
>
> Warning: SAFE MODE Restriction in effect.
> The script whose uid is 406 is not allowed to access /etc/passwd
> owned by uid 0 in /home/www/html/local/php/file_io_test.php on line 13
> File copy NOT succeeded.
> Weird thing however is that my Apache server is running as nobody.www.
> Why is the script saying that it is running as uid 406???
Sure apache, is running as nobody.www, but ignore that, the script that was
running was owned by uid 406 - and safe mode is based on the script owner,
not the running uid.
Which means all your users, although they share the same apache, they can
only get eachothers files.
Sam