Installing 1Password CLI on MacOS Sequoia and unable to login with Desktop App
I did an install of the latest CLI on MacOS Sequoia and when I attempt to trigger a login with the command op vault list I get the following error:
[ERROR] 2024/09/30 13:57:43 cannot create directory "/Users/XXXXX/.config/op" and the parent directories: mkdir /Users/XXXX/.config/op: permission denied.
When I tried to do an install for me as a single user and not the install for all users it failed with an error.
1Password Version: 8.10.44
Extension Version: Not Provided
OS Version: macOS 15.1
Browser: Not Provided
Comments
-
This was resolved as follows with help from support:
check the ownership of the .config directory and contents with the following command: ls -la ~/
drwx------ 6 username staff 192 7 Mar 2024 .config
If the owner is a different account, such as root, you can try changing the ownership of the files and directories. This can be done by using the chown command.
From the command line, assuming you’re in your home directory, type the following, replacing the username with your own:
sudo chown -R username .config
chown will change ownership, with the -R flag, recursively, through the .config directory, so that everything within the .config directory is owned by the specified user.
0