mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
## Why MXC requires deny paths to have existing parent directories, even when the denied path itself does not exist. ## What changed Create missing parent directories before expanding deny globs and volume grants on Windows. If creation fails, return a policy resolution error with guidance to create the directory manually or correct the path or permissions. ## Testing Extend policy tests to cover missing deny parents, preserved read-only carveouts during volume expansion, and parent denies expressed as explicit paths or glob patterns. Verify that parent directories are created without creating the denied child. GitOrigin-RevId: d852444bef51e5d5449c4228a31d01c0e6f982dc