You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Codex Windows sandbox configuration is sandbox = "elevated".
Requested assistance
Please investigate why codex-windows-sandbox-setup.exe cannot update the Deny ACE on the existing .codex directory.
Is there a supported procedure to recover sandbox ACL state without removing project files, disabling sandbox protections, or resetting unrelated filesystem permissions?
Safety
No manual ACL modification, ownership change, directory deletion, or Git modification has been performed.
My environment appears to have a similar Windows unified exec sandbox setup failure.
Environment
Windows
VS Code Codex extension openai.chatgpt-26.1007.21434-win32-x64
Codex CLI 0.162.0-alpha.17.2
Observed failure
The sandbox setup repeatedly fails with: deny ACE failed on C:\Projects\growlux-migration\.git: open deny ACL target for update
Codex cannot execute even Get-Location in my existing workspace.
Useful difference in reproduction
Codex successfully executes Get-Location and git status in C:\CodexSandboxTest, a separate workspace containing a newly initialized Git repository.
Codex fails in C:\Projects\growlux-migration.
icacls .git /verify succeeds.
The .git ACL output I inspected showed inherited Allow entries; I did not observe the four explicit Deny ACEs described in this issue.
This may be a related failure with a different ACL state. Is there a supported procedure to recover the sandbox ACL setup without broadly resetting filesystem permissions or weakening sandbox protections?
Codex successfully executed git status --short --branch.
Repository working tree remained clean.
Git ahead/behind remained 0/0.
No execution errors occurred.
No ACL reset, Deny ACE removal, sandbox disabling, or repository modifications were required.
Observation: The ownership mismatch appears to have contributed to the sandbox setup failure. Changing the owner of the affected directory restored command execution in this environment.
This is a confirmed local recovery, not proof that ownership mismatch causes every similar Windows sandbox error.
A supported diagnostic and recovery procedure for multi-user Windows workspaces would be valuable.
ACL inheritance is enabled, with no explicit deny ACEs found.
The failing helper's execution identity and underlying Windows error code remain unknown.
I saw the October 18 recovery report involving a non-recursive directory ownership correction.
Before attempting that recovery, could a maintainer confirm whether CodexSandboxOffline ownership is expected for .agents, and whether changing ownership of only that directory is safe and supported?
I want to preserve the existing skill junctions, sandbox protections, and workspace permissions.
No manual ACL or ownership changes have been performed.
bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
shakira1024 commentedon Oct 14, 2026
My environment appears to have a similar Windows unified exec sandbox setup failure.
Environment
openai.chatgpt-26.1007.21434-win32-x640.162.0-alpha.17.2Observed failure
The sandbox setup repeatedly fails with:
deny ACE failed on C:\Projects\growlux-migration\.git: open deny ACL target for updateCodex cannot execute even
Get-Locationin my existing workspace.Useful difference in reproduction
Get-Locationandgit statusinC:\CodexSandboxTest, a separate workspace containing a newly initialized Git repository.C:\Projects\growlux-migration.icacls .git /verifysucceeds..gitACL output I inspected showed inherited Allow entries; I did not observe the four explicit Deny ACEs described in this issue.This may be a related failure with a different ACL state. Is there a supported procedure to recover the sandbox ACL setup without broadly resetting filesystem permissions or weakening sandbox protections?
idiot2705 commentedon Oct 18, 2026
Update: Local recovery successful — directory ownership correction
I successfully restored Codex Windows unified exec functionality.
Root failure observed:
Environment:
.codexdirectory: User AelevatedRecovery performed:
From an elevated PowerShell session, I changed ownership of only the affected directory, without recursive modification:
The command completed successfully.
Verification:
pwd.git status --short --branch.0/0.No ACL reset, Deny ACE removal, sandbox disabling, or repository modifications were required.
Observation: The ownership mismatch appears to have contributed to the sandbox setup failure. Changing the owner of the affected directory restored command execution in this environment.
This is a confirmed local recovery, not proof that ownership mismatch causes every similar Windows sandbox error.
A supported diagnostic and recovery procedure for multi-user Windows workspaces would be valuable.
MuhammadFahim-PK commentedon Oct 23, 2026
I am experiencing a very similar issue with the same VS Code Codex extension version (
26.1007.21434) on Windows 10 build18363.1556.My sandbox helper reports:
My findings:
Get-Locationfails in the affected workspace..agentsand.agents\skillsdirectories are owned byCodexSandboxOffline..agents\skillscontains 22 NTFS directory junctions.I saw the October 18 recovery report involving a non-recursive directory ownership correction.
Before attempting that recovery, could a maintainer confirm whether
CodexSandboxOfflineownership is expected for.agents, and whether changing ownership of only that directory is safe and supported?I want to preserve the existing skill junctions, sandbox protections, and workspace permissions.
No manual ACL or ownership changes have been performed.