apply_patch still fails with symlinked ~/.codex (v0.115.0-alpha.23)
Resolved 💬 1 comment Opened Mar 14, 2026 by rebroad Closed Mar 14, 2026
Summary
apply_patch still fails when ~/.codex is a symlink to another partition. This is reproducible on v0.115.0-alpha.23, so the issue is unresolved.
Version
codex v0.115.0-alpha.23
Repro
- Make
~/.codexa symlink to another partition (e.g./mnt/p8/@home/rebroad/.codex). - Run any
apply_patchoperation.
Actual
bwrap errors out during sandbox setup:
bwrap: Can't bind mount /oldroot/mnt/p8/@home/rebroad/SunOS on /newroot/home/rebroad/SunOS: Unable to mount source on destination: No such file or directory
or
bwrap: Can't mkdir /home/rebroad/.codex/memories: No such file or directory
Expected
apply_patch should work regardless of whether ~/.codex is a symlink.
Notes
A previous report was closed as a duplicate of a closed issue, but the bug is still present in v0.115.0-alpha.23, so reopening is necessary.
Previous report: #14694.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗