In Magento 2, How to set chown and chmod for root folder and sub folder in linux.
My OS system is the CentOS 6.5.
please, guide me step by step.
P/S: When use this command "find ./var -type d -exec chmod 777 {} \;" is this security ?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityYou can find the details of Magento 2 permissions in the official documentation: http://devdocs.magento.com/guides/v2.0/config-guide/prod/prod_file-sys-perms.html
find . -type f -exec chmod 644 {} \;
notice the backslash at the end of the command