Client: Can't login?

Created on 23 Jun 2016  Â·  7Comments  Â·  Source: keybase/client

<snip>@<snip> ~ $ keybase login
Your keybase username or email address: arinerron
â–¶ ERROR Failed to open session file /home/<snip>/.cache/keybase/session.json.<snip> for writing: open /home/<snip>/.cache/keybase/session.json.<snip>: permission denied
â–¶ WARNING Failed to remove session file: remove /home/<snip>/.cache/keybase/session.json: no such file or directory
â–¶ ERROR open /home/<snip>/.cache/keybase/session.json.<snip>: permission denied

<snip>@<snip> ~ $ sudo keybase login
[sudo] password for <snip>:
Oops, you are trying to run as an admin user (Uid: 0). This isn't supported.

<snip>@<snip> ~ $ 

I snipped my pc account name, computer hostname, and the session id.

Most helpful comment

Credit to @beardog108 who suggested I chown the keybase cache:

sudo chown -R <account name> ~/.cache/keybase/

All 7 comments

It looks like the user you are logged in does not have write access to their $HOME/.cache/keybase directory.

@cjb Solution?

Not super comfortable offering a solution without knowing more about the misconfiguration and how it got to be that way. You could run ls -la $HOME/.cache/keybase to see who owns the directory and go from there.

@cjb Looks like root owns all the files

Credit to @beardog108 who suggested I chown the keybase cache:

sudo chown -R <account name> ~/.cache/keybase/

What about the 'Bash on Ubuntu on Windows' tool that is shipped recently with the updates of Windows 10? I hoped to see an easier workflow using the bash terminal, but this error message pops up.

@Rubenkl We haven't tested this and I don't expect it to work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

martindevans picture martindevans  Â·  4Comments

nikolayhg picture nikolayhg  Â·  3Comments

shadowfacts picture shadowfacts  Â·  4Comments

qntmpkts picture qntmpkts  Â·  3Comments

lukefrasera picture lukefrasera  Â·  3Comments