Laravel Cache files losing permissions – Windows 10 IIS & Active Directory
My problem is that when I use caching in Laravel with file driver, I occassionally lose permissions to the cache file. Permissions are set properly, parent folder does not lose any permissions, only the specific cache file. After restarting the machine, permissions are back and I can delete the file manually.
The "permission" error is like: file_put_contents(C:inetpubwwwrootoffice_map_devstorageframework/cache/data/ca/0d/ca0d727b27eefcb8763203d9ad28f5a5eb29a85e): Failed to open stream: Permission denied