openai / openai/codex

Windows desktop: repeated exec_command startup failure at 'apply deny-read ACLs'

Open
#45,498 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug sandbox tool-calls windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

Summary

Repeated local command execution failures in the Codex desktop app on Windows prevent even read-only commands from starting. The failure occurs during sandbox/process setup, before the requested command executes. This blocks reading source documents and generating a requested Word deliverable.

Observed errors

Most attempts return:

exec_command failed: CreateProcess { message: "Rejected(\"Failed to create unified exec process: helper_unknown_error: apply deny-read ACLs\")" }

Another attempt returned (user path redacted):

Failed to create unified exec process: orchestrator_helper_report_read_failed: setup helper exited with status Some(1); failed to read setup_error.json: parse <USERPROFILE>\.codex\.sandbox\setup_error.json

Reproduction observed in the affected session

  1. Use Codex desktop on Windows with PowerShell, sandbox_mode=workspace-write and managed/restricted filesystem permissions.
  2. Ask the agent to read a local text file using exec_command (for example, Get-Content -LiteralPath targeting an installed SKILL.md).
  3. Process creation fails with the error above, without command output.
  4. Retry across subsequent conversation turns: the same failure recurs. Both sequential attempts and read-only calls batched with other independent reads have failed.

Expected behavior

Authorized read-only commands start successfully, or an actionable permission/setup error identifies the specific problem.

Environment and limits of evidence

  • Windows desktop app; PowerShell shell.
  • Workspace and user-profile paths contain Cyrillic characters; causality is unknown.
  • The issue was reproduced multiple times in the same task across multiple turns.
  • App version and Windows build could not be collected because command execution is unavailable.
  • A restart was suggested, but there is no evidence that it was performed or resolved the issue.
  • No configuration changes or sandbox bypasses were attempted.
  • Exact root cause is unknown. Please investigate sandbox helper setup, deny-read ACL application, and setup_error.json reporting.

This report is submitted at the affected user's explicit request. Document contents, names, full local paths, and other personal data have been omitted.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in the Windows desktop app with PowerShell, workspace-write sandboxing, and managed filesystem permissions. Trace the sandbox helper setup around applying deny-read ACLs and reporting setup_error.json. Done means authorized read-only commands start successfully, or failures identify the specific permission or setup problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, rust
Domain
operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.