Sandboxed shell execution fails across multiple sessions: “Failed to create unified exec process: No such file or directory (os error 2).”
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.901.51231
What subscription do you have?
Pro
What platform is your computer?
Mac
What issue are you seeing?
01a08f95-e0b1-7930-97bc-789364c6ded1s
Sandboxed shell execution fails across multiple sessions:
“Failed to create unified exec process: No such file or directory (os error 2).”
The identical command succeeds outside the sandbox with require_escalated.
Command: pwd
Shell: /usr/bin/bash
Working directory: /tmp
Login shell: disabled
Restarting Codex and reconnecting did not resolve it.
What steps can reproduce the bug?
not so sure. Issue ID is 01a08f95-e0b1-7930-97bc-789364c6ded1, session id is:
01a08f95-e0b1-7930-97bc-789364c6ded1
What is the expected behavior?
it shall be able to execute shell command on my ssh remote server.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing pwd in the sandbox on macOS against the SSH remote server with /usr/bin/bash and /tmp, then compare it with the same command using require_escalated; done means sandboxed shell commands execute successfully across sessions without the unified exec process error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, rust
- Domain
- cli, operating-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100