Skip to content

Magento 2 showing pub folder after correcting permissions

I corrected the file permissions using this command (find . -type d -exec chmod 770 {} ; && find . -type f -exec chmod 660 {} ; && chmod u+x bin/magento), and after that pub folder is showing when I visit my website. Please see the screenshot for a better understanding.
enter image description here