Laravel Cache files losing permissions – Windows 10 IIS & Active Directory

Published

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

Source: Laravel

Published
Categorised as caching, iis, laravel, windows Tagged , , ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq