note 4028 modified in fopen by ronabop

From: Date: Sat, 02 Sep 2000 06:40:56 +0000
Subject: note 4028 modified in fopen by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3934@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. http://www.php.net/manual/function.fopen.php

« previous php.notes (#3934) next »