sudo rm -rf pub/static/* sudo php bin/magento setup:upgrade
I have set 777 permission to pub but still getting
Missing write permissions to the following directories: '/var/www/magento2/pub/static'
Suggest some solution.
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 community
Please check this link.
I hope this link helpful for your issue.
You can check also below link.