Repository navigation
Description
What version of the Codex App are you using?
- ChatGPT Windows Desktop: 26.1007.2314.0
- Bundled Codex CLI/runtime present: 0.162.0-alpha.17.2
- Active app-server daemon present: 0.166.0
- Separately installed standalone Codex CLI: 0.163.0 (not confirmed to implement this session's apply_patch call)
What platform is your computer?
Windows 11 x64, native Windows Codex integrated into ChatGPT Desktop.
What issue are you seeing?
The native apply_patch tool refuses an authorized project file when addressed through the workspace's canonical C: path, reporting:
Failed to read file to update ...: path contains a reparse point
In this setup, C:\My Drive is an actual directory symbolic link to D:\My Drive. The C: and D: paths resolve to the same repository and files. Read-only checks confirmed matching filesystem file IDs and identical Git root, HEAD, and working-tree status through both paths. Thus, the path does traverse a reparse point, but it is the user's configured alias for the same workspace.
The session permission metadata grants workspace-write access, but its effective writable roots are under D:\My Drive\Projects\Coding. Meanwhile, C:\Users\<user>\.codex\config.toml lists the corresponding roots under C:. This is an observed mismatch between configured and effective roots.
Earlier sessions had successfully edited through the C: path, but there is no saved per-session policy/runtime snapshot to identify exactly what changed. The local evidence establishes recent runtime installation activity, not that a particular update caused this failure. The standalone CLI version also does not identify the implementation handling Desktop's patch call.
A separate shell attempt reported that the Windows unelevated restricted-token sandbox could not enforce split writable-root sets and refused to run unsandboxed. That is a separate sandbox enforcement error; the apply_patch call itself reported the reparse-point error. No file write was attempted through an alternate path.
Expected behavior
Codex should honor the authorized workspace when a configured drive-letter path traverses a symlink that maps to the same underlying directory as an effective writable root, while preserving protection against unintended reparse-point traversal. Alternatively, it should report the configured/effective root mismatch clearly and provide a supported way to reconcile it.
Steps to reproduce
- On Windows, configure/open a workspace under a path such as
C:\My Drive\Projects\Coding\<repo>whereC:\My Driveis a directory symlink toD:\My Drive. - Start a Codex Desktop
workspace-writesession whose effective writable roots name the mapped D: path while the on-disk Codex config names C:. - Ask Codex to update an existing file using native
apply_patchand target the canonical C: path. - Observe the
path contains a reparse pointrejection before any file is changed.
Repository and file names are omitted. No settings or project files were changed during diagnosis.
Related reports
- Windows 10: apply_patch reports false reparse-point errors; read-only no-follow reproduction #46290 — false reparse-point errors on ordinary paths
- Windows 10: apply_patch rejects authorized E: paths with “path contains a reparse point” in 0.160.0 #50617 — authorized Windows drive paths rejected with reparse-point errors
- Windows 10: apply_patch falsely detects reparse points on normal paths after Codex updates #52173 — similar Desktop regression after updates
This report concerns a path that really does traverse a symlink, plus the mismatch between the canonical C: workspace path and the session's effective D: writable roots.
Activity