Posted in:
Magento 2 Tutorials
Magento 2 set folder permissions
Use below commands to set files and folder permission. Run below commands from the root directory of your Magento 2 website.
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
File: 644
Directory: 755
July 13, 2018
Did you like this post?