-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't working
Description
What version of Codex is running?
0.63.0
What subscription do you have?
plus
Which model were you using?
No response
What platform is your computer?
No response
What issue are you seeing?
> codex
internal error; agent loop died unexpectedly
What steps can reproduce the bug?
After several minutes of debugging, it seems like my $HOME/.codex/sessions has some sessions that were run as root with
> sudo -i
> HOME=/home/<old-user> codex
which causes the session files to be under root ownership.
Using sudo chown -R <old-user> $HOME/.codex/ fixed it.
What is the expected behavior?
A better error message indicating the reason for failure would be nice.
Additional information
No response
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't working