Chmod -R 777 folder

I recently installed a magento 2 theme, the theme guide requires to run chmod -R 777 pub, chmod -R 777 generated, chmod -R 777 var, chmod -R 777 app/etc
I would like to ask is it safe practice to run these commands?
if not what should be best practice.

From my knowledge no. You shouldn’t set chmods to 777.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.