Codex on Windows falls back to a weaker sandbox and breaks patching
felipebsr · reddit · 2026-07-23
- A Windows user reports that the new ChatGPT/Codex desktop app falls back to an unelevated restricted-token sandbox.
- In that state, ordinary file writes work, but applypatch fails on existing files and Node child processes fail with EPERM.
- The poster includes a detailed repro: Windows build, Codex package version, sandbox user setup, and tests showing that the same project works outside the Codex sandbox.
- Their theory is that the elevated sandbox runner is installed, but the runtime is incorrectly falling back to a weaker sandbox that cannot enforce split writable roots.
- They ask whether others have seen the same exact error, and whether there is a supported fix, log, or Windows event that identifies the fallback cause.
More from coding & agent
- Cheaper OpenAI Agents API alternative: sandbox service undercutting E2B by 46% — airesearch12 · 2026-09-11
- His agent kill switch ran for months before he found it was wired to nothing — AnvilandCode · 2026-09-11
- Kernel's Browser Agents Can Now Pay Online Using Aliases, Never Touching Card Data — jeff_weinstein · 2026-09-11
- OpenAI opens up agent sandboxes: BYO or pick from Cloudflare, E2B, Modal, Vercel and more — threepointone · 2026-09-11
- SocialCrawl MCP lets agents search Reddit, YouTube, TikTok, X with one API key — dooddyman · 2026-09-11
- Astra builds a surprisingly polished Catan game in three.js, reusing past UI and 3D assets — FinanceYF5 · 2026-09-11