Permission Denied htaccess in folders without htaccess files

- Magento 2

Magento 2 Development

In order to fix this Magento 2 problem, you as a web server user need write access to:

  • var
  • app/etc
  • pub

Besides, it is recommended to set 770 permissions for all directories and 660 permissions for all files. For further information, examine this source.

Please note that the mod_rewrite issue in .htaccess requires changing RewriteBase / depending on your configuration. Check this source for further information.

Source (Magento Stackexchange Question) (rob3000)

More tips from the cookbook