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

  1. Make ~/.codex a symlink to another partition (e.g. /mnt/p8/@home/rebroad/.codex).
  2. Run any apply_patch operation.

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.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗