I have created a test google user account to play with Storage buckets etc. But the user’s home directory points to the Google admin user account. How do we switch the home dir?
To do this you first need to set the account parameter (and project parameter if not already updated) for config like this:
gcloud config set account
and set gcp project
gcloud config set project
Followed by authentication command
gcloud auth login
login with your test user gmail credentials.
Hope this helps!