I am trying to follow some tutorial instructions to test a gcloud API (called kms in case it matters) but I must have messed up something related to permissions and I don't seem to find anything on google.
Any time I try any gcloud ... command I get the same error:
cannot open path of the current working directory: Permission denied
The issue persists after I tried:
sudo gcloud kmschown -R $(whoami) ~/.config/gcloudchown -R $(whoami) /snap
and all possible combinations of the above steps.
In case it matters, the VM is running Ubuntu 18.