note 4028 deleted from function.fopen by irc-html
| From: | irc-html@php.net | Date: | Thu, 03 Jan 2002 02:39:11 +0000 |
| Subject: | note 4028 deleted from function.fopen by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24357@lists.php.net to get a copy of this message | ||
Re: suEXEC
I have a work around for the file ownership problem.
First do a chown with a perl script to the user right after the file is created.
But keep the gid to the httpd (nobody).
The web interface can still update the file depending on the user wants, and a user gets access to
the file.
Beware with the script, it may lead to a security problem.
The best solution in PHP is to fix the script to run as a user rather than httpd in virtual
directory.