The sandbox exited 101 before it applied a profile. The file was Codex 0.174.0, the standalone Linux x86_64 ELF, and nothing named bwrap was on PATH. The panic named linux-sandbox/src/launcher.rs:68 and said bubblewrap was unavailable: no system bwrap on PATH, and no bundled codex-resources/bwrap next to the executable. The echo never ran. The same ELF, taken from the package archive and left in that package tree, printed the echo and exited 0. The 4 December 2026 release note says Linux sandboxes enforce filesystem restrictions when the same directory is reachable through a symlink. It does not say which archive can start the command that would check that sentence.
Two downloads, one binary
The tag is rust-v0.174.0, published 4 December 2026 at 02:05:06 UTC. Two archives matter for this host. codex-x86_64-unknown-linux-musl.tar.gz is 116,702,170 bytes. The GitHub asset digest for that object, read the same night, was sha256:f724403204e9c42ce4d4f7d4a3de15b1d7aadb267cd0dd86e1f8d6e6da54aca1. codex-package_SHA256SUMS from the same release does not name that file. sha256sum -c against the sums file reported that no file was verified until the other archive was present.
codex-package-x86_64-unknown-linux-musl.tar.gz is 187,892,105 bytes. Its line in the sums file is c354d08714521549f1b7f68de00c1eceab1672ef621f421e803ba056a7a51013, and the check printed OK. The package listing has bin/codex, codex-resources/bwrap, and a voice library tree this run did not use. The standalone archive extracts to one file, codex-x86_64-unknown-linux-musl.
Those two ELF files have the same SHA-256, 3ad531ae35b6619a9a6545d8d337aefb6efe9a63c7595da813a2c1e837944c1f. Both printed codex-cli 0.174.0. The bundled bwrap hashed to 512b7d47b27de10e13e86525a03d43c1a85422021b013bb15dc6384ae51f6425. The version line cannot tell the tree that panics from the tree that runs.
With a clean PATH and an empty home, the standalone file given --permission-profile :workspace, a disposable checkout, and /bin/echo exited 101. Standard error was the launcher panic and the backtrace hint. Standard output was empty. The package bin/codex, same flags, same home, same absence of a system bwrap, printed the echo and exited 0. The executable bytes did not change. The directory beside bin/ did.
An earlier home, placed under a directory the binary treats as temporary, added a warning that it was refusing to create helper binaries there, then hit the same panic because that tree also had no bundled bwrap. The clean retest did not use that home. The warning is not required for the 101. A missing bwrap is.
Codex 0.173.0, the standalone file from the previous comparison on this host, hash fd23df981d9e8453e0ce40dd40017ea0d171bc46d78e47dde3ce793ee31d9d63, panics the same way when bwrap is neither on PATH nor beside the executable. Putting the 0.174 package bwrap directory on PATH was enough for that 0.173.0 file to run :workspace. It is not a 0.173 package tree. This run did not download one.
The help page does not match the parser
codex sandbox --help on the 0.174.0 package binary lists -P, --permission-profile as a named profile taken from the active configuration stack. The short help does not say the flag is required. Passing -c 'sandbox_mode="workspace-write"' and a working directory, with no profile name, exits 2. The error says --permission-profile was not provided. The usage line it prints puts that flag before --cd and --config.
The same exit 2 happens on the PATH binary, Codex 0.163.0. A wrapper that treats the help page as the contract, and treats sandbox_mode as a substitute for the profile name, never reaches bubblewrap. It also never reaches the symlink behavior the note describes. The profile that did start, with an empty home and no login, was the built-in name :workspace.
The alias does not reopen .git
The note is easy to turn into the wrong test. A disposable git repository, a symlink whose target is that repository, and :workspace. The sandbox working directory was the symlink. On 0.163.0 a write under src/ succeeded and left a one-byte file. A write under .git/ failed with Read-only file system. The shell status for that redirect was 2. The sandbox process still exited 0, because the script continued and the last echo succeeded. A job that only stores the process status will record a success for a command that did not write the git directory.
A second link makes the read-only directory reachable from inside the writable tree: src/gitlink pointing at ../.git. On 0.163.0, 0.173.0, and 0.174.0 the write through that link failed with Read-only file system. The direct .git write failed the same way. The src/ write succeeded. No marker appeared under .git on any of the three. The 0.173.0 invocation is the one that needed bwrap on PATH. The 0.174.0 invocation used the package tree and a PATH that did not contain bwrap.
So the spelling a wrapper would try first does not separate 0.174.0 from 0.163.0. The December 4 sentence is not a behavior change for a repository alias, and it is not a behavior change for a link inside src/ that points at .git. An earlier note on this site already showed that workspace-write keeps .git read-only when the working directory is the physical checkout. This run adds the symlink spelling. The deny was already there.
A root symlink stops setup
The pull request that the note cites is narrower than the sentence. It says ordering writable binds by the spelled path can put a parent mount after a child mount when symlinks are involved, and that the later bind can cover deny masks and read-only mounts. The test description is a symlink to / paired with a project alias, and aliases of nested project directories. Denied files should stay unreadable, read-only files should resist writes, and an explicitly writable child should remain usable. The release note does not include that fixture.
A disposable profile extended :workspace and marked two extra paths write: a symlink whose target was /, and the repository alias. On 0.163.0 and on the 0.174.0 package binary, codex sandbox --permission-profile with that name exited 1 before the command printed anything. Standard error was bwrap: Can't mkdir /.git: Permission denied. No marker appeared under .git or under src/. Setup failed closed. It did not show a write that 0.163.0 allowed and 0.174.0 blocked.
That is not the regression suite. Those cases are inside the Linux sandbox tests, and this run did not compile them. What the CLI accepted, with a profile a reader can write next to an empty home, is a launch error on both ends. Treating the release sentence as a promise that 0.174.0 newly blocks an alias write will not be confirmed by this fixture, because 0.163.0 already blocks the alias write, and the root-symlink profile never gets as far as the write.
Verify the tree, then the deny
Match the package archive to c354d08714521549f1b7f68de00c1eceab1672ef621f421e803ba056a7a51013 before you extract it. The sums file that published that line does not list the standalone tar.gz. If the download is the standalone archive, compare it with the asset digest rather than with codex-package_SHA256SUMS. On 4 December 2026 that digest was sha256:f724403204e9c42ce4d4f7d4a3de15b1d7aadb267cd0dd86e1f8d6e6da54aca1 and the size was 116,702,170 bytes. The ELF inside both archives should hash to 3ad531ae35b6619a9a6545d8d337aefb6efe9a63c7595da813a2c1e837944c1f and print codex-cli 0.174.0. The bundled bwrap in the package tree should hash to 512b7d47b27de10e13e86525a03d43c1a85422021b013bb15dc6384ae51f6425.
With no bwrap on PATH, the standalone file should exit 101 and name launcher.rs:68. The package tree should exit 0 for an echo under --permission-profile :workspace. Omitting that flag should exit 2 on this 0.174.0 and on 0.163.0, even when sandbox_mode is workspace-write. Exit 2 is the parser. It is not a sandbox denial.
For the alias check, point the working directory at a symlink to a git checkout and pass :workspace. A write under src/ should land. A write under .git, and a write through a link inside src/ that points at .git, should print Read-only file system and leave no marker. Exit 0 from the sandbox process is not that result if the script keeps going after a failed redirect. Read the inner status, or look for the file.
Do not read the December 4 symlink sentence as proof that 0.163.0 will reopen .git through an alias. On this host it did not. A profile that adds a symlink to / as a write root should be expected to fail setup here, on both 0.163.0 and 0.174.0, with the mkdir error, until the fixture matches the suite instead of a path written beside the repository. This comparison did not sign in, did not replace the installed command, and did not send a model request.
Sources
- This host, 4 December 2026, Linux x86_64. Codex 0.163.0 on PATH. Codex 0.173.0 standalone, SHA-256
fd23df981d9e8453e0ce40dd40017ea0d171bc46d78e47dde3ce793ee31d9d63. Codex 0.174.0 ELF SHA-2563ad531ae35b6619a9a6545d8d337aefb6efe9a63c7595da813a2c1e837944c1f, from both archives. Package bwrap SHA-256512b7d47b27de10e13e86525a03d43c1a85422021b013bb15dc6384ae51f6425. Empty home. No login. No model request. No system bwrap on PATH for the clean 0.174.0 comparison. - Codex 0.174.0 release, 4 December 2026: https://github.com/openai/codex/releases/tag/rust-v0.174.0
- Package checksum line in
codex-package_SHA256SUMSforcodex-package-x86_64-unknown-linux-musl.tar.gz. - Pull request 64415, writable symlink aliases on Linux: https://github.com/openai/codex/pull/64415
- Permission profiles, including
:workspaceand the read-only treatment of.git/: https://learn.chatgpt.com/docs/permissions - Earlier measurement of
sandbox_modeagainst the prompt profile, which left the package layout and the alias spelling untested: https://johnburns.io/read-the-codex-prompt-profile-before-the-sandbox-mode-name/