Codex Desktop bug ignores read-only sandbox config, agent can still write files

savitar2001 · ghdev · 2026-10-31

openai/codex issue #58507: a user set defaultpermissions = ":read-only" and approvalpolicy = "never" in /.codex/config.toml, but Codex Desktop on macOS (26.1027.30824) still creates every new thread with :workspace / workspaceWrite / on-request permissions, letting the agent actually write files (with timestamps as evidence). The composer offers no permission selector to change this per thread. The same config works correctly in the bundled CLI, indicating the Desktop app ignores the config — a real risk for users relying on sandbox restrictions.

Original post →

More from coding & agent

coding & agent channel →