Re: PHP unlink Permission Error
| From: | ceo at l-i-e dot com | Date: | Tue, 13 Jan 2009 15:46:30 +0000 |
| Subject: | Re: PHP unlink Permission Error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-286223@lists.php.net to get a copy of this message | ||
Not only do you need to check the return value of chmod to see if it worked, but also, I *think*:
The file withing the directory can have entirely different permissions, and making the directory
world writable won't help that, I don't think...
I could be wrong, and a 000 file in a 777 dir might be unlink-able. You can test for yourself in a
shell as fast as I can. :-)