Codex not able to write in files in full auto mode

Resolved 💬 4 comments Opened Apr 19, 2025 by Chopch0 Closed Aug 7, 2025
💡 Likely answer: A maintainer (saleweaver, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.1.2504172351

Which model were you using?

o4-mini

What platform is your computer?

Linux 5.15.167.4-microsoft-standard-WSL2 x86_64 unknown - Manjaro for wsl

What steps can reproduce the bug?

!Image

pretty simple i just ask it to write something in a file and it's not able to however it is able to read, delete and create files and dirs

What is the expected behavior?

to simply create a file

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

ishowshao · 1 year ago

I also encountered this problem

saleweaver contributor · 1 year ago

It also doesn't write to files in normal mode.

codex -m gpt-4.1

What's even weirder is, that it - sometimes - doesn't apply patches, but it sometimes does write them. I've been using latest from GitHub and built it myself, then it did edits on files on 1 try out of 3.

angelxmoreno · 1 year ago

this issue seems like a dup of #320

codex-maintainers · 1 year ago

Thank you for the feedback! Please try again on the latest version of Codex CLI. We're primarily focused on the native/Rust implementation of Codex CLI and would love to see if this issue persists there. If it does, please let us know!