Skip to content

Windows Codex command runner fails on existing Git workspace due to sandbox ACL error #53946

Open

Description

@shakira1024

What version of the Codex App are you using (From “About Codex” dialog)?

26.1007.21434

What subscription do you have?

Go

What platform is your computer?

No response

What issue are you seeing?

Environment

  • Windows
  • Visual Studio Code
  • OpenAI Codex extension version 26.1007.21434

Problem
Codex commands fail before execution in my existing workspace at C:\Projects\growlux-migration.

Error:
exec_command failed: CreateProcess { message: "Rejected(\"Failed to create unified exec process: helper_unknown_error: setup refresh had errors\")" }

Relevant sandbox log
deny ACE failed on C:\Projects\growlux-migration\.git: open deny ACL target for update

The error repeats when I ask Codex to run the read-only PowerShell command Get-Location.

Reproduction

  1. Open C:\Projects\growlux-migration in VS Code.
  2. Ask Codex to run Get-Location.
  3. The command fails before execution because sandbox setup reports an ACL update error on .git.

Additional findings

  • icacls .git /verify succeeds.
  • The .git ACL contains inherited Allow rules.
  • The .git owner is DESKTOP-FS03F2S\CodexSandboxOffline.
  • Both CodexSandboxOffline and CodexSandboxOnline Windows accounts are enabled.
  • Codex successfully runs Get-Location and git status in a separate test workspace, C:\CodexSandboxTest, containing a newly initialized Git repository.
  • The original GrowLux workspace's Git status and configuration can be inspected from regular PowerShell.

Expected result
Codex should initialize its sandbox and execute commands in the existing workspace without failing to update the .git ACL.

Please investigate the Windows sandbox setup failure.

What steps can reproduce the bug?

  1. Open the existing project folder C:\Projects\growlux-migration in VS Code.
  2. Open the Codex extension and start a conversation.
  3. Ask Codex to run the read-only PowerShell command Get-Location.
  4. The command fails before execution with helper_unknown_error: setup refresh had errors.
  5. Inspect %USERPROFILE%\.codex\.sandbox\sandbox.2026-10-14.log. The log repeatedly reports:
    deny ACE failed on C:\Projects\growlux-migration\.git: open deny ACL target for update
  6. Open a separate workspace at C:\CodexSandboxTest, initialize a fresh Git repository, and ask Codex to run Get-Location and git status. Both commands succeed there.

The issue reproduces in the existing GrowLux workspace but not in the temporary test workspace.

What is the expected behavior?

Codex should successfully initialize its Windows sandbox and execute commands in the existing workspace without failing while updating the .git directory's ACL. Read-only commands such as Get-Location should run normally, as they do in the temporary test workspace.

Additional information

No response

Activity

  1. added
    app
    on Oct 14, 2026
  2. added
    bug
    extension
    windows-os
    sandbox
    on Oct 14, 2026
  3. github-actions commented on Oct 14, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

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

    appbugextensionsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions