Skip to content

Codex CLI can't access any file #3477

@MartinKnopf

Description

@MartinKnopf

What version of Codex is running?

codex-cli 0.34.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 24.6.0 x86_64 i386

What steps can reproduce the bug?

  1. Install codex cli: npm i -g @openai/codex
  2. Login with ChatGPT subscription
  3. Create dummy README.md: echo "# Test" > README.md
  4. List directory contents:
    Image
  5. Let codex summarize the file: codex --yolo "summarize README.md"

What is the expected behavior?

A summary of the file.

What do you see instead?

Image

Additional information

I already deleted ~/.codex and reinstalled codex. Codex is able to create files and in the same session can read those files. But in a new session it can't read those files again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions