Please tell me where is the problem.
bin/magento setup:upgrade and
bin/magento setup:static-content:deploy en_GB en_US -f
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
I think this is not an issue with permission, this is issue with your custom theme less file. It means there is some type of error coming at the time of compiling from your custom theme less file. In this case, I would suggest, please try to disable/remove your custom theme and see if you are getting this issue or not. If you are not getting this issue then you need to check your custom theme less files and find out which file has typo error. You have to check and find out the file manually.