Open DarthFudd opened 3 years ago
I am having the same problem. I also have .config symlinked to another directory inside my home dir. This is very perplexing and prevents me from using doctl EDIT it doesn't prevent this, i downloaded the binary directly
Describe the Issue:
The command "doctl auth init" failed for me, with the error message "Error: mkdir $HOME/.config: file exists". It might be relevant that my ".config" is a symlink to another directory, not a directory itself. I re-ran the script with sudo, and then it seemed to work OK. If the cure is to always run with "auth init" under sudo, please make the error message more clear than just "file exists". Also, by installing with sudo, the doctl command now requires sudo for every invocation. I'm not sure if that's intended.
Environment:
Additional Details: