Magento 2 Permissions

From Tech Wiki
Revision as of 10:46, 28 April 2016 by Adam.birds (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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