safe_mode and files permissions q?
| From: | Vitaly N. Kravchenko | Date: | Wed, 10 Jul 2002 07:29:54 +0000 |
| Subject: | safe_mode and files permissions q? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-85880@lists.php.net to get a copy of this message | ||
Hi.
I have small question for you.
When I turn safe_mode On, The users script can't access files
with uid differ from uid of this script. It's good.
But, when script.php create any (for example .txt) file.txt,
file.txt have owner uid of user defined in httpd.conf (apache),
User from whom apache runs.
And user can't access this file.
Can I solve this problem by myself, or it's Engine trouble..?
Thank you.
--
Best regards, KVN.
PHP4You (<http://php4you.kiev.ua/>)
PEAR [ru] (<http://pear.php.net/manual/ru/>)
mailto:kvn@php.net