php, files, ownership....(was file manipulation)

From: Date: Fri, 05 Oct 2001 00:24:57 +0000
Subject: php, files, ownership....(was file manipulation)
Groups: php.general 
Request: Send a blank email to php-general+get-69995@lists.php.net to get a copy of this message
Ok, I found out what was causing some of the people who were using my script and have it fail. They are on a shared server and apache is being run as user nobody, so therefore the script is being run as nobody. But the the files has to have user ownership foo foo. Is it at all possible to have a script run as one user and create files as another. Dont know if it is even safe?? Or could you point me in another direction? Thanks

« previous php.general (#69995) next »