I cd to:
'/Users/name/.azure/config'
Where I execute:
sudo chmod -R 777 ./
Then when I try to run:
az configure --defaults group=fake-resource-group
I get:
Permission denied: '/Users/name/.azure/config'
It only works if I do:
sudo az configure --defaults group=learn-bda08cf1-281d-4b2e-ae5a-adc1dde7bd11
So it looks like the chmod was not successful or something?
Why is this and how to resolve?