unlink permission problems
| From: | Niel Archer | Date: | Mon, 25 Sep 2006 16:05:59 +0000 |
| Subject: | unlink permission problems | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-27175@lists.php.net to get a copy of this message | ||
I have a function that compares two files, and deletes the first if they
are identical. The problem is, that whenever the function attempts to
unlink the file it causes an error "unlink(<filename>): Permission
denied".
I first tried this using an Administrator account. Then to be sure I
tried a user account, creating the files in that account before running
the script.
I can see no reason why permission is denied. Anyone have an idea?
Niel Archer