Ask your Question

PEOPLE YOU MIGHT KNOW

Pooja
Pooja

Chiplun,  India
Everest Educational
Everest Educational

Visa Consultants in Punjab

Ludhiana,  India
Vikas
Vikas

Web developer

Gurgaon,  India
Space
Space

Courier Services

Birmingham,  United Kingdom
MobileComm
MobileComm

MobileComm Professionals Inc.

Richardson,  United States

Write to us

Ask Question

Magento2 files and folders permission

Aditya Singh

Below are the permissions needed to run the magento2, execute each command one by one


find . -type f -exec chmod 644 {} ;                      // 644 permission for files

find . -type d -exec chmod 755 {} ;                    // 755 permission for directory

find ./var -type d -exec chmod 777 {} ;             // 777 permission for var folder

find ./pub/media -type d -exec chmod 777 {} ;

find ./pub/static -type d -exec chmod 777 {} ;

chmod 777 ./app/etc

chmod 644 ./app/etc/*.xml

chmod u+x bin/magento

 

Aditya Singh

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site