Ubuntu 25.10: command failed; retry without sandbox?

Resolved 💬 3 comments Opened Apr 8, 2026 by mattnelsonuk Closed Apr 8, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

codex-cli 0.118.0

What subscription do you have?

Plus

What platform is your computer?

Ubuntu 25.10

What issue are you seeing?

<img width="796" height="335" alt="Image" src="https://github.com/user-attachments/assets/96382c0c-eaed-484b-9365-43b5359b99da" />

The cli constantly says "command failed; retry without sandbox?" when trying to edit files.

This is the first time I've used codex as I've been using Claude Code.

What steps can reproduce the bug?

Nothing special running here, just trying to get the agent to make some changes. I can see some previously closed Issues with he same issue, but they haven't been closed as "Fixed"?

What is the expected behavior?

It should be able to make edits without failing, or at least have a fallback. The agent itself couldn't see any of these errors or issues. It had no idea I was being prompted and couldn't suggest a fix which also seems strange

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #16402
  • #16407
  • #16790
  • #16791
  • #15434

Powered by Codex Action

bfontaine · 4 months ago

Looks like a clear duplicate of https://github.com/openai/codex/issues/16402.

mattnelsonuk · 4 months ago

Yup. Looks like a duplicate of #16402

Running with codex --enable use_legacy_landlock does make it work.