How to fix the «Unable to write file into directory: Access forbidden» issue on Windows 7?

Hi Everyone,
I just Updated my site to Magento 2.1.6 in local but I have the problem with image re-size.
Here my issue when I turn on the “Developer” Mode

Error filtering template: Unable to write file into directory \D:/xampp/htdocs/mag2/ce216/mysite/pub/media/catalog/product\cache\2eaddfd0be171511b8beb7c8a6c1c63e\/c/v. Access forbidden.

I’m tried to clean all var and pub folder but not a success.

I’m using the Window 7 and Xampp Server.
Please help me resolved this issue.

Best Regards,
Ziven.

I have installed Cygwin on Windows 7 and use chmod in such cases. It solves this problem.

1 Like

The real solution is here: How to fix the «Unable to write file into directory: Access forbidden» bug