Re: Unlink Woes
| From: | Sheridan Saint-Michel | Date: | Fri, 20 Jul 2001 17:02:13 +0000 |
| Subject: | Re: Unlink Woes | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58941@lists.php.net to get a copy of this message | ||
I know... that's why I included all the info about how I chmod'ed both the
files and directories 777
>
> If you're running PHP as an Apache module it runs as the owner that Apache
> runs as and can only unlink files owned by that user unless the file you
are
> trying to unlink is world-writable. This is a good thing. Otherwise you
> could delete any file on the server. If you're running PHP as a CGI then
it
> runs with the privileges of the user who owns the CGI file.
>
> --
> Steve Werby
> President, Befriend Internet Services LLC
> http://www.befriend.com/