ID: 10345 Updated by: andi Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Filesystem function related PHP Version: 4.0.1pl2 Assigned To: Comments: This is not a bug but how the filesystem works. Permissions for erasing a file is according to the permissions on the directory and not the file. Previous Comments: --------------------------------------------------------------------------- [2001-04-16 11:15:33] [EMAIL PROTECTED] 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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10345&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]