GitHub issue #13542 in openai/codex, opened 2026-03-05 by neavo and titled "Windows: bundled rg in Codex Desktop resolves on PATH but fails with Access Denied in integrated PowerShell", records a report that in Codex Desktop on Windows, rg resolves to the bundled binary under the app package directory, but invoking rg from the integrated PowerShell 7 terminal fails with Access Denied. Running rg --version fails with an error similar to "Program 'rg.exe' failed to run ... Access is denied.", and another executable in the same folder, codex-command-runner.exe, fails with the same access-denied error when launched from terminal context. Diagnostics in the report: the bundled rg.exe file is readable and hashable, and copying the same binary to %TEMP% and running it works (ripgrep 15.1.0), suggesting the issue is path/package execution policy rather than binary corruption; ACL/SDDL for files under the package path appears to include app-identity-conditioned entries (WindowsApps package restrictions). The report states the expected result is that if bundled rg is exposed on PATH, it should be executable from the integrated terminal, and gives a workaround of putting Git's rg.exe earlier in PATH. Environment: Windows, PowerShell 7.5.4 (PSEdition=Core), Codex Desktop package OpenAI.Codex_26.304.1528.0_x64__2p2nqsd0c76g0.
Verbatim Excerpts from Cited Records
“In Codex Desktop on Windows, `rg` resolves to the bundled binary under the app package directory:”
·
openai/codex (issue 13542 opening body, What happened section)
·
2026-03-05T06:00:51Z
·GitHub Issue ↗
“But invoking `rg` from the integrated PowerShell 7 terminal fails with **Access Denied**.”
·
openai/codex (issue 13542 opening body, What happened section)
·
2026-03-05T06:00:51Z
·GitHub Issue ↗
“`rg --version` fails with an error similar to:”
·
openai/codex (issue 13542 opening body, Actual result section)
·
2026-03-05T06:00:51Z
·GitHub Issue ↗
“If bundled `rg` is exposed on PATH, it should be executable from the integrated terminal.”
·
openai/codex (issue 13542 opening body, Expected result section)
·
2026-03-05T06:00:51Z
·GitHub Issue ↗
Counter-record: Issue remains open as of 2026-11-27 (last updated 2026-11-27T07:48:31Z). 37 comments read in total. github-actions[bot] (2026-03-05) flagged #10090 and #9062 as potential duplicates. Multiple users corroborated the report: schardeinmechanical (2026-03-06) reported Codex falls back to PowerShell file search because the bundled rg is not accessible; jsjtxietian, xxxifan, seunghyeok2915, albayazid, RehaInce and Iydah confirmed the same Access Denied failure, including on newer package builds into 2026-05; koenvdheide (2026-05-01) reported every executable in the resources folder fails the same way. Workarounds reported by users, not a fix: installing ripgrep separately (seunghyeok2915), granting the user full access to the resources folder (vikmanza), re-running Windows sandbox setup (MichaelDWalker, with mixed results), and granting CodexSandboxUsers read and execute rights (tabarra). Maintainer response is limited to one clarifying question from etraut-openai (2026-03-06); no maintainer fix appears in the surveyed thread. The claim documents only the original report, not a verified current state.
Falsification probe: If GitHub issue #13542 is deleted without archive, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn.
Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by
scripts/verify_claim_verbatim.py.