Difference between revisions of "Magento 2 Permissions"

From Tech Wiki
Jump to navigation Jump to search
(Created page with "'''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 w...")
 
(No difference)

Latest revision as of 10:46, 28 April 2016

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