known·good

Tags

sudo

1 note

  1. Claude Code: auth login succeeds in the browser, then "not logged in" (~/.claude owned by root)

    claude auth login completes in the browser, then Claude Code says it is not logged in and gives up after a few retries. ~/.claude was owned by root after claude had once been run as root with the user's HOME, so the token file could not be written. chown the directory back to the user.