Skip to content

Linux sandbox cannot execute codex itself #17367

@howardjohn

Description

@howardjohn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingsandboxIssues related to permissions or sandboxing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions