Linux sandbox cannot execute codex itself
Resolved 💬 2 comments Opened Apr 10, 2026 by howardjohn Closed Apr 24, 2026
What version of Codex CLI is running?
codex-cli 0.119.0-alpha.33
What subscription do you have?
Pro
Which model were you using?
gpt-5.4
What platform is your computer?
Linux 6.19.9-arch1-1.1 x86_64 unknown
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
$ CODEX_HOME=/tmp/codex-home codex sandbox linux -c 'default_permissions="sbx"' -c 'permissions.sbx.network.enabled=true' echo
WARNING: proceeding, even though we could not update PATH: Refusing to create helper binaries under temporary dir "/tmp" (codex_home: "/tmp/codex-home")
bwrap: execvp /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex/codex: No such file or directory
(used CODEX_HOME to avoid my config being involved in any way; it happens without that as well)
If I don't set default_permissions its fine
What steps can reproduce the bug?
See above
What is the expected behavior?
sandbox can execute
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗