Skip to content

Windows desktop: unified exec fails at apply deny-read ACLs in every workspace #40047

Open

Description

@BTB80

Description

Every local command fails before process creation in the Windows ChatGPT/Codex desktop app.

Exact error

Rejected("Failed to create unified exec process: helper_unknown_error: apply deny-read ACLs")

Reproduction

  1. Open an existing local project.
  2. Ask Codex to run a read-only command such as git status.
  3. The command fails before execution.
  4. Create and open a completely empty folder.
  5. Ask Codex to read the current directory.
  6. The same error occurs.

Troubleshooting already completed

  • Fully restarted the ChatGPT/Codex desktop app
  • Rebooted Windows
  • Installed the latest available app update
  • Retested in an empty folder
  • Did not modify ACLs or run the app as administrator
  • Did not attempt a sandbox bypass
  • In-app feedback submission was also attempted but failed

Impact

No local shell command can start in any workspace. File editing, testing, and Git operations are blocked.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Aug 22, 2026
  2. jayantabehera75-hub commented on Aug 28, 2026

    @jayantabehera75-hub

    I can reproduce this on Windows 10 Pro. Every read-only command fails before execution with:
    helper_unknown_error: apply deny-read ACLs
    It also fails in a completely new empty folder and new task. Restart, admin launch, app update, diagnostics, and workspace reinstall did not help.

  3. jegyll commented on Aug 31, 2026

    @jegyll

    I can reproduce the same Windows Desktop failure described in this issue.

    Environment:

    • Codex Desktop version: 26.825.6671.0
    • Codex Workspace dependencies: 26.826.12353
    • Windows: Windows 11 Home
    • Windows version: 25H2
    • OS build: 26200.9168

    Observed error:

    Failed to create unified exec process: helper_unknown_error: apply deny-read ACLs
    

    The failure occurs before the requested process is created. Local shell and file operations fail in the affected Codex task, including attempts to inspect files in the workspace.

    Additional observations:

    • The failure is not specific to one repository.
    • The sandbox directory does not contain an explicit DENY entry for the invoking user.
    • The recorded sandbox setup error is:
    helper_unknown_error: apply deny-read ACLs
    

    This appears to be the same Windows unified-exec/sandbox ACL failure described in this issue. No ACL modifications or sandbox bypass was performed.

    One additional observation: deny_read_acl_state.json under the Codex sandbox directory appeared to contain NUL bytes rather than valid JSON when read locally.

    This may be related to the truncated/corrupted state-file behavior described in issue #39453. I did not initially delete, rename, or modify the file.

    Further observation:

    A retry confirmed that the PowerShell and cmd.exe processes used for read-only diagnostics were themselves rejected before they started. As a result, repository inspection and update checks could not be completed. This appeared to be a failure of the Codex execution environment before the diagnostic command could run, rather than an error in the repository.

    No files were downloaded, replaced, deleted, reset, or modified during those attempts.

    Update: Workaround confirmed on my system.

    The file deny_read_acl_state.json contained NUL bytes instead of valid JSON. After fully exiting Codex, I backed up the file and renamed it so that Codex could recreate it on the next launch.

    After regeneration, the Windows sandbox recovered and local shell/file operations worked again.

    This suggests that the failure was caused by corrupted persistent sandbox state rather than by the repository's normal ACLs. The original file was preserved as a backup, and I did not modify the repository ACLs or use a sandbox bypass.

    This should only be considered a temporary workaround when the state file is independently confirmed to be invalid or NUL-filled. Codex should detect and recover from this condition automatically instead of reporting only apply deny-read ACLs.

  4. aerethiel commented on Oct 4, 2026

    @aerethiel

    Windows sandbox startup failure with partial recovery

    Desktop app: 26.930.31730
    Windows package: OpenAI.Codex 26.930.3930.0
    Local app-server: 0.160.0, confirmed in desktop logs

    After a Windows crash and reboot on October 4, local commands, including Get-Date, started failing before execution:

    Failed to create unified exec process: helper_unknown_error: apply deny-read ACLs

    The failure affected direct local tasks and tasks launched by a dot. Restarting, reconnecting and Windows app repair did not resolve it in the delegated task.

    Later, after changing permissions, Get-Date, Get-PSDrive and Test-Path succeeded in one direct local task, with this persistent warning:

    Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed.

    Successful reading of file contents has not been confirmed. Other task contexts still failed at process creation, including the latest delegated check. The sessions' effective permission profiles have not been matched, so the cause of the partial recovery is unclear.

    Desktop logs confirm successful app-server initialization after reboot, but contain no detailed ACL-helper error. No sandbox-state reset or manual ACL repair was performed.

    This appears similar to the failure reported in this issue. The underlying cause and a reliable recovery procedure remain unidentified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions