Windows sandbox setup refresh fails on WSL UNC workspace (GetSecurityInfo error 1)
What version of the Codex App are you using (From “About Codex” dialog)?
26.930.41038
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
The native Windows sandbox fails during setup refresh when the workspace is located in WSL2 and opened through a UNC path such as:
\wsl.localhost\Ubuntu\home<user>\projects<repo>
This configuration worked for approximately two months before it began failing.
Actual behavior
Terminal initialization may fail with:
helper_unknown_error: setup refresh had errors
The Windows sandbox log repeatedly reports:
write ACE check failed on \?\UNC\wsl.localhost\Ubuntu\home<user>\projects<repo> GetSecurityInfo failed ... : 1
write ACE grant failed ... deny ACE failed on ...<repo>.git setup refresh completed with errors
Invoking WSL from the sandbox can also fail with:
WSL/Service/E_ACCESSDENIED
The initial elevated sandbox provisioning itself succeeds:
ensuring sandbox users offline=CodexSandboxOffline online=CodexSandboxOnline WFP setup succeeded for CodexSandboxOffline setup provisioning binary completed
What steps can reproduce the bug?
Store a Git repository inside WSL2 under /home/
What is the expected behavior?
Codex should either:
- support WSL UNC workspaces without applying incompatible Windows ACL operations; or
- detect that the workspace is located in WSL2 and use the Linux/WSL execution path.
The sandbox setup refresh should not fail because GetSecurityInfo cannot process the WSL UNC filesystem.
Additional information
Direct Windows file reads from the UNC path work. Git for Windows can read repository status through the UNC path when the safe-directory setting is supplied temporarily. The failure occurs specifically when the Windows sandbox attempts to apply or inspect Windows ACE/ACL entries on the WSL filesystem. User and repository names have been anonymized in this report.
Retested after updating to Codex Desktop 26.930.61225 (build 13232) with bundled codex-cli 0.160.1.
The issue persists: wsl.exe returns Wsl/E_ACCESSDENIED, and Windows Git operating on the WSL UNC workspace still reports: unable to open '.git/sequencer/todo': Function not implemented
I am experiencing the same Windows sandbox failure with a WSL-hosted workspace.
Environment:
- Product: Codex desktop app for Windows
- App version: 26.1120.50957
- Subscription: API access via a company-managed gateway (custom model provider)
- Windows version: Microsoft Windows NT 10.0.26200.0
- WSL distribution: Ubuntu
- Agent execution environment: Windows native
- Windows sandbox implementation reported in the logs: elevated
- Workspace: \wsl.localhost\Ubuntu\home<user><project>
Steps to reproduce:
- Keep the Codex agent environment set to Windows native.
- Open a Git repository stored inside Ubuntu through its WSL UNC path.
- Ask the agent to list or read the project files.
- The tool fails during sandbox initialization, before the requested command starts.
The shell error is:
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
The sandbox log inspected on November 13, 2026 contained:
write ACE check failed on the WSL UNC workspace
GetSecurityInfo failed ... : 1
write ACE grant failed on the WSL UNC workspace
deny ACE failed on the workspace .git directory
setup error: setup refresh had errors
The same top-level "setup refresh had errors" failure occurred again in this conversation on November 26, 2026.
An approved command outside the sandbox successfully listed the same repository. This indicates that the workspace itself is accessible, while the Windows sandbox initialization fails.
In-product feedback/session ID: 01a1d436-8f4e-7472-8459-c472a8f0109c
Please correlate this feedback/session ID with this public issue for investigation. User names and repository paths have been redacted.
Additional Windows + WSL UNC regression report with an A/B version comparison (user observation; root cause not yet established).
Environment
- Codex desktop on Windows, WSL2
Ubuntu-24.04, Git repository stored inside Linux and opened via\\wsl.localhost\Ubuntu-24.04\home\<user>\projects\<repo>. - Full Access selected in the Codex UI.
- Last known working Windows package:
OpenAI.Codex 26.1111.9664.0. - Failing package after upgrade:
OpenAI.Codex 26.1117.4957.0.
Observed regression
- In a normal development task, the agent could inspect project files but could not perform authorized Git writes/commits. The repository's
.gitmetadata was effectively read-only / writes were denied. - Errors encountered included
Unable to read current working directory: Function not implemented, access-denied Git operations, and a WSL launch failure reported asWsl/E_ACCESSDENIED. - The same WSL repository and Git worked normally from an external terminal, outside the agent.
- Rolling the desktop package back to 26.1111.9664.0 restored the ability to create Git commits on that repository. We did not change Windows ACLs, edit Git internals, or bypass sandbox restrictions.
Expected An explicitly authorized Windows/WSL workspace should support ordinary Git operations, or the effective sandbox/WSL restriction should be shown clearly instead of contradicting the Full Access setting.
This seems related both to this UNC/sandbox issue and to #57816 (Full Access UI vs. effective permissions). It is not proof of a shared root cause, but the working version → failing version → working after rollback sequence may help isolate the regression. Can maintainers indicate a build containing a verified fix and a supported non-destructive test procedure?