Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1117.41037 (app-server client_version=26.1117.41037, api_version=v2)
What subscription do you have?
ChatGPT Plus (monthly)
What platform is your computer?
- Windows 11 Home China 24H2, build 26100.4946, non-admin user
What issue are you seeing?
In ChatGPT Work conversations on Windows Desktop, I select "Full access" in the permission picker, but every command still runs inside the Windows sandbox and can only write to a synthetic chat folder under the projectless-chat data root. Writing to a project folder or an Obsidian vault fails with "Access is denied" (exit code 1).
A conversation started from a normal Codex chat ("This computer") with Full access runs unsandboxed (sandbox_policy=danger-full-access) and the same write succeeds. Continuing such a Codex conversation inside Work also keeps working. Only new Work conversations are affected: after creating one, the "Full access" badge disappears from the composer.
The renderer sends permission_profile: Some("managed") with no sandbox override, so Work sessions run read-only:
model="gpt-6-luna" approval_policy=Never sandbox_policy=read-only
ThreadSettingsOverrides { approval_policy: None, approvals_reviewer: None, sandbox_policy: None, permission_profile: Some("managed") }
Sandbox log for the failing write (2026-11-21 15:12:44 +08:00):
START: ...\pwsh.exe -NoProfile -Command Set-Content -LiteralPath 'C:\Users<user>\Documents\Obsidian Vault...'
granting write ACE to F:\codex chat data outside\2026-11-21\new-chat-13 for sandbox group and capability SID
setup refresh: processed 2 write roots (read roots delegated); errors=[]
A second attempt after a full app restart in a new Work conversation (15:38:58) mapped the same path to another synthetic folder and failed identically:
granting write ACE to F:\codex chat data outside\2026-11-21\shell-p-c-users-lenovo-documents for sandbox group and capability SID
Related: #41724. Adding default_permissions = ":danger-full-access" to config.toml has no effect either.
This is a regression: logs_2.sqlite shows the first permission_profile "managed" rows on 2026-11-18, and the sandbox log shows "Windows sandbox selection: elevated" for the first time on 2026-11-18 10:05 — the day Desktop 26.1117 / CLI 0.169.0-alpha.11.1 was installed. Work conversations ran with full access before that.
What steps can reproduce the bug?
- Open Codex Desktop (Windows) and create a new ChatGPT Work conversation.
- Set the permission picker to "Full access".
- Send this prompt (shell write test, not the edit tool):
$p = 'C:\Users<user>\Documents\Obsidian Vault\30-知识库\电测实验_write_test.txt'
Set-Content -LiteralPath $p -Value 'ok' -Encoding UTF8
"WROTE: " + (Test-Path $p)
"READ: " + (Get-Content -LiteralPath $p -Raw)
Remove-Item -LiteralPath $p
"DELETED: " + (-not (Test-Path $p))
Expected: WROTE: True / READ: ok / DELETED: True.
Actual: "Access to the path ... is denied", exit code 1; the assistant says the directory is not in the writable range of the conversation.
- Run the same prompt in a normal Codex chat ("This computer") with Full access -> WROTE: True / READ: ok / DELETED: True.
Session ids (from ~/.codex/logs_2.sqlite):
- failing Work conversation: 01a1fce9-1359-7642-a5ec-d148605b8384 (15:01:35, cwd C:\Users<user>\Desktop\电测实验, permission_profile "managed")
- control, normal Codex chat: 01a1fcfb-6394-7bf1-b7e9-ce924f0a8ac7 (15:21:35, sandbox_policy danger-full-access)
Context window usage is not visible in the desktop UI (separate minor bug; mobile shows it).
What is the expected behavior?
Selecting "Full access" should run commands unsandboxed in Work conversations too, exactly like in normal Codex chats ("This computer"). Alternatively, if Work conversations are intentionally always managed/read-only, the picker should not offer "Full access" for them (currently it does and the selection is silently discarded).
Additional information
Environment:
- Windows 11 Home China 24H2, build 26100.4946, non-admin user
- Codex Desktop 26.1117.41037 (app-server client_version=26.1117.41037, api_version=v2)
- Codex CLI 0.171.0-alpha.13
- config.toml: sandbox_mode = "danger-full-access", approval_policy = "never", [windows] sandbox = "elevated"
- no managed requirements: print-startup-config returns {"configRequirements":{"supportsIndependentSpeedModes":true,"requirements":null}}
Sandbox backend noise on this machine (non-admin + Windows Home + elevated backend):
MXC availability: false
Windows sandbox selection: elevated
failed to grant non-inheriting read-attributes ACE on user profile C:\Users<user>: open ACL target for root-only update (MAXIMUM_ALLOWED): os error 32; continuing setup
hide users: failed to hide current user profile dir (C:\Users<user>\Default): SetFileAttributesW failed for C:\Users<user>\Default: 5 (Access is denied.)
permission_profile "managed" rows per day in logs_2.sqlite: 11-14~11-17: 0; 11-18: 25 (14 threads); 11-19: 6; 11-20: 5; 11-21: 8.
Related issues: #41724, #6374, #20942, #40698.
Logs:
- C:\Users<user>.codex.sandbox\sandbox.2026-11-21.log
- C:\Users<user>.codex\logs_2.sqlite (logs table, ts in seconds)
- C:\Users<user>\AppData\Local\Codex\Logs\2026\11\21\codex-desktop-*.log
Activity
github-actions commentedon Nov 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
charwxxxmy commentedon Nov 21, 2026
Additional related issue: #41410 (macOS Desktop project-task creation forcing :read-only) looks like the same underlying mechanism — the permission profile is resolved from the conversation-creation path instead of the composer selection. Here it reproduces on Windows ChatGPT Work conversations.
vit100 commentedon Nov 23, 2026
I am seeing a closely related Git permissions failure in the ChatGPT Windows desktop app.
26.1117.41037Git couldn’t create .git/index.lock because the .git directory is read-only in this sessionThis prevents normal Git staging/committing from the affected session. I have not yet verified the effective sandbox mode, whether the Full Access selector is honored, or whether an external PowerShell commit succeeds, so I cannot confirm that the underlying cause is identical. Reporting because the symptom and app version match the permissions regression described here.
AytoMaximo commentedon Nov 23, 2026
I’m seeing a related issue in ChatGPT Work on Windows, desktop build 26.1117.4957.0. My local project is on an exFAT drive. Work gets Access denied when reading an existing file there, even though the same command works in PowerShell outside the app. Restarting the app and starting a new Work chat didn’t help.
Minimal read-only reproduction (path anonymized):
Get-Content -LiteralPath 'F:\Projects\Example\README.md' -Encoding UTF8 -TotalCount 1I also ran a comparison on the same machine from a restricted agent session: files on two NTFS volumes (C: and V:) were readable, but even listing the root of the exFAT volume failed. When I ran the same read with explicit approval for that command, the file opened successfully.
Unlike the original report, this affects reads, not just writes. Issue #51513 describes a similar write failure on exFAT. I haven’t confirmed whether exFAT is the deciding factor or whether these reports share a root cause.