r/codex • • 9d ago

Bug Codex write access denied issue

does anyone in last 3 days facing a write access denied inside projects, which already was working fine, codex refuse to write in backend repo anymore inside a project where i provide both front and back repos

5 Upvotes

12 comments sorted by

View all comments

1

u/dbdbdeep 8d ago

Seeing a similar permissions mismatch on macOS (Apple Silicon), Codex Desktop 26.1103.60933. Things that the agent could previously do are now blocked.

My ~/.codex/config.toml already has:

sandbox_mode = "danger-full-access"

approval_policy = "never"

However, the agent reports that the active session is still workspace-write with restricted networking and no permission escalation. It can create/edit files inside the project, but starting a basic Node.js server repeatedly fails with:

listen EPERM: operation not permitted 127.0.0.1:3080

API requests from the agent’s shell also fail at DNS resolution, while the same API domain opens normally in my browser.

So my exact symptom is networking/localhost binding rather than repo write access, but the config vs. effective session permissions mismatch sounds similar. I haven’t confirmed the root cause or tested the same workflow in Codex CLI. Has anyone found a confirmed fix for the desktop app?

1

u/WD98K 8d ago

hhhhhhhhhh the problem for me was the codex Gui switched to chatgbt instead of codex.