Skip to content

Can't read/edit files #3306

@adek

Description

@adek

What version of Codex is running?

0.30.0

Which model were you using?

gpt5-medium

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

I'd like to use codex for my project. But I get strange issues that codex can't read/edit files.

While running I see plenty of errors like that:

` Explored
└ List ls -la
Search rg --files
Search find . -maxdepth 3 -type d -print

• Ran cat -n README.md | sed -n '1,120p'
└ bash: cat: command not found
bash: sed: command not found
`

Tried installing codex from npm and brew. No changes. When I'm asking codex to chcek it - sometimes it's using python to do it.

I checked my shell options - ls, grep, sed - this should be available. Gemini or Claude CLI have no issues here.

I changed approval to full - same. Codex is just giving me code to paste and saying:

If you want, I can apply this change directly, but my current environment can’t read files. Paste the body of DashboardView here, or grant me a quick project scan, and I’ll patch it for you. Token usage: total=10046 input=4202 (+ 55936 cached) output=5844 (reasoning 4864)

What is the expected behavior?

Codex should read/edit files.

What do you see instead?

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtool-callsIssues related to tool calling

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions