Bug #10345: unlink ignores permissions
| From: | sascha at rizzt dot 2y dot net | Date: | Mon, 16 Apr 2001 15:15:33 +0000 |
| Subject: | Bug #10345: unlink ignores permissions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51705@lists.php.net to get a copy of this message | ||
From: sascha@rizzt.2y.net
Operating system: redhat 7.0
PHP version: 4.0.1pl2
PHP Bug Type: Filesystem function related
Bug description: unlink ignores permissions
unlink seems to run as root.
i have set file permissions to 444 (owner root) and tried to open this file for writing from a
script. php said 'permission denied'. then i tried to unlink this file with success.
mod_php-4.0.1pl2-9
apache-1.3.12-25
--
Edit Bug report at: http://bugs.php.net/?id=10345&edit=1