What should be file permissions in Magento 2 after deploying website to live and website is in production mode.
I have read many forums and found that the file permissions of folders generated,var and pub should be 777 but in Magento 2 documentations it is different.This create a little bit confusion so please let me know if anyone have idea about this.
When you are ready to deploy your site to production, you should remove write access from files in the following directories for improved security:
vendor app/code app/etc lib pub/static Any other static resources generated/code generated/metadata var/view_preprocessed
Please share your ideas as we are getting issues related to owner permissions in my website?