Skip to content

fix: make CODEX_UNSAFE_ALLOW_NO_SANDBOX disable sandboxing on all platforms #996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

christophkogler
Copy link
Contributor

@christophkogler christophkogler commented May 17, 2025

fixes #973

tangential to:
#830
#848

This PR makes it so that the flag CODEX_UNSAFE_ALLOW_NO_SANDBOX is checked first in handle-exec-command.ts's getSandbox, before the platform specific sandboxing attempts are made. The flag would thus allow disabling sandboxing attempts even on the darwin and linux platforms.

@christophkogler christophkogler changed the title make CODEX_UNSAFE_ALLOW_NO_SANDBOX disable sandboxing fix: make CODEX_UNSAFE_ALLOW_NO_SANDBOX disable sandboxing on all platforms May 18, 2025
@CashWilliams
Copy link

The lack of this makes Codex not work in CI jobs.

@hellno
Copy link

hellno commented May 26, 2025

can we get this merged into main? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TypeScript] Unable to skip sandboxing on platforms Codex considers supported
3 participants