Magento 2 Permissions
Jump to navigation
Jump to search
Once you have setup the document root, and extracted the Magento Files, please run the following to set the correct permissions:
Ensure these commands are ran from within the htdocs directory:
find . -type f -exec chmod 644 {} ';'
find . -type d -exec chmod 755 {} ';'
find ./var -type d -exec chmod 777 {} ';'
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