mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Why Filesystem helpers only need access to their own executables. Granting access to the containing directories also makes unrelated sibling files readable. ## What changed - Allow filesystem helpers to read the Codex and Linux sandbox executables directly instead of their parent directories. - Give macOS filesystem helpers a narrower Seatbelt profile that omits the normal process sandbox's `/Applications` read access. - Preserve the existing platform defaults for normal sandboxed processes. ## Testing Add unit and integration coverage for direct and symlinked sibling-file access, sandboxed copies, allowed workspace reads, and the macOS-specific Seatbelt profiles. GitOrigin-RevId: 9380c6868a695bdf2275baa74bd5e8a30a64ba1b