Skip to content

0.124.0 breaks sandbox when default_permissions is present in the config #19299

Closed

Description

@zeyugao

What version of Codex CLI is running?

codex-cli 0.124.0

What subscription do you have?

plus

Which model were you using?

gpt-5.5

What platform is your computer?

Linux 6.12.69 x86_64 x86_64

Linux 6.8.0-78-generic x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

Image

For search:

bwrap: execvp /home/user/.npm-global/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex/codex: No such file or directory

What steps can reproduce the bug?

Place in the ~/.codex/config.toml

default_permissions = "workspace"

[permissions.workspace.filesystem]
":minimal" = "read"
":project_roots" = "write"

What is the expected behavior?

No response

Additional information

It is the same behaviour as #17367, but in 0.123.0 it works well

It seems that the since switching to bubblewrap, the codex sandbox has been having frequent issues with the permissions.

Activity

  1. added
    bug
    on Apr 24, 2026
  2. added
    CLI
    sandbox
    config
    on Apr 24, 2026
  3. github-actions commented on Apr 24, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. viyatb-oai commented on Apr 24, 2026

    @viyatb-oai
    Contributor

    hi @zeyugao, thanks for discovering the new permissions sandbox policies - its currently under heavy development and is unstable.

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

    CLIbugconfigsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions