Sharing some useful tips, solutions and notes for Geeks.

Sunday, November 5, 2017

Can't create directory Magento 2 admin error

Yesterday when i was playing with Magento 2 admin editing the Design Configuration section, i was stuck with an error:

Can't create directory /var/generation/Magento/Theme/Model/Design/Backend/Exceptions/

As we all know, Magento 2 is more prone to permission than Magento 1. Here in Magento 2, without any proper permissions nothing is going to work smoothly.

So here to fix the issue, i provided full permission to the var folder. To do, go to the doc root via shell and hit


chmod -R 777 var/

Voila, error is gone.

No comments: