Windows 2003 Server 64 bit, 2GB RAM, PHP 5.3.1 in fastcgi, IIS6, XCache 1.3.0, Drupal 6.14

After adding the Cache Router module, I was getting a large number of red warnings on the screen about permission denied when unlinking many of the lock files. After messing around with the permissions on my temp directory to no avail, before line 124 for the unlink in function unlock, I tried adding in Cache.php
fclose($this->lock_fp);
Thinking maybe it couldn't delete the lock files because the file lock was still there?

And this seemed to make the problem go away. Then I was doing some other work on the server, and just before posting this I removed my added line, recycled the app pool, but could not make the problem recur (yet).

Comments

porcupine73’s picture

Title: Was getting a lot of permission denied PHP warnings in unlink when deleting the lock files » <duplicate pls delete>
Category: bug » support
Status: Needs review » Closed (fixed)

Sorry I accidentally duplicated a post but can't figure out how to delete it yet. Thanks.