Skip to content

Linux sandbox cannot execute codex itself #17367

Closed

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

Activity

  1. added
    bug
    on Apr 10, 2026
  2. added
    CLI
    sandbox
    on Apr 10, 2026
  3. zeyugao commented on Apr 24, 2026

    @zeyugao

    This happens to me after upgrading to 0.124.0

  4. viyatb-oai commented on Apr 24, 2026

    @viyatb-oai
    Contributor

    @howardjohn, thanks for the feedback. permissions and subsequent settings associated with it are under heavy development and unstable. Please keep trying it out but I'd use the current sandbox_mode configuration settings for any stable usecase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions