Access denied renaming cachestore_file

Access denied renaming cachestore_file

by J. T. -
Number of replies: 1

After logging into my Moodle server, I refresh the homepage 3-5 times. The php error message below appears in the php erro log.  I set the file permissions to everyone full control but I still get the same error.  Don't know how to fix this.  Thank you.


Version: Moodle 3.4.2 (Build: 20180319)

Error message in php error log: [28-Mar-2018 13:47:13 America/New_York] PHP Warning:  rename(D:\moodledata/cache/cachestore_file/default_application/core_config/8b1-cache/.5abbd521e70062.44552495.temp,D:\moodledata/cache/cachestore_file/default_application/core_config/8b1-cache/8b151badaa9a4d437fcee99648d0c9ab55cd5a4a.cache): Access is denied. (code: 5) in D:\moodle\cache\stores\file\lib.php on line 733

os: Windows Server 2016

web server: Server version: Apache/2.4.29 (Win32)

database: 10.1.30-MariaDB



Average of ratings: -
In reply to J. T.

Re: Access denied renaming cachestore_file

by Zack At Work -

I was just having this problem with a moodle site I made a copy of. I had to add "modify" to my IUSR folder permissions. Hopefully that helps!


Edit: Just saw that you gave "everyone full control" in your permissions set-up. If that didn't solve the problem, I don't think my suggestion helps at all. Sorry!