Skip to content

Windows app: Full access selected but session still runs in workspace-write (.git read-only, loopback blocked) #61989

Open

Description

@adamelsaghir-glitch

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

Codex app [version: 26.1116.1210.0] · Windows 11 · native PowerShell agent (not WSL)

What subscription do you have?

PRO 20x

What platform is your computer?

No response

What issue are you seeing?

What happens

Full access is selected in the permissions picker and I confirmed the “Turn on Full Access?” dialog.
config.toml also has sandbox_mode = "danger-full-access" and approval_policy = "never" at top level.
I quit and reopened the app and started a new chat.
/status in the chat still reports: sandbox workspace-write, .git explicitly read-only, network restricted, escalation automatically rejected.

Repro

whoami -> vegantiger\adame
git -C D:/OCTO/repo update-ref refs/heads/tmp-probe HEAD
-> fatal: cannot lock ref ... Unable to create 'D:/OCTO/repo/.git/refs/heads/tmp-probe.lock': Permission denied

Python socket.socketpair() stalls, and connecting to a listener on 127.0.0.1 fails with WSAEACCES (10013).

Outside Codex everything works. The same git command and socketpair() succeed in a normal PowerShell. icacls on .git shows no deny rules: Authenticated Users has Modify.

Expected: Full access runs commands without the sandbox, as it did in earlier versions.

Started after updating Codex Primary Runtime from 26.1112.611.0 to 26.1116.1210.0; switches with full access worked before that.

What steps can reproduce the bug?

Codex Primary Runtime 26.1116.1210.0, Windows 11, native PowerShell agent (not WSL). Started after updating from 26.1112.611.0; full access worked before.

  1. Select "Full access" in the permissions picker and confirm the "Turn on Full Access?" dialog.
  2. config.toml also has top-level sandbox_mode = "danger-full-access" and approval_policy = "never". Quit the app from the tray, reopen, start a new chat.
  3. Ask the agent to run:
    whoami
    git -C D:/OCTO/repo update-ref refs/heads/tmp-probe HEAD

Result:
vegantiger\adame
fatal: cannot lock ref 'refs/heads/tmp-probe': Unable to create 'D:/OCTO/repo/.git/refs/heads/tmp-probe.lock': Permission denied

/status in the same chat reports: sandbox workspace-write, .git explicitly read-only, network restricted, escalation automatically rejected.
Python socket.socketpair() stalls, and connecting to a 127.0.0.1 listener fails with WSAEACCES (10013).

Outside Codex, in a normal PowerShell, the same git command and socketpair() succeed. icacls on .git shows no deny rules (Authenticated Users: Modify).

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Nov 17, 2026
  2. added
    bug
    windows-os
    sandbox
    on Nov 17, 2026
  3. vit100 commented on Nov 23, 2026

    @vit100

    I am experiencing a related regression in the ChatGPT Windows desktop app (About shows “Powered by Codex & OWL”), version 26.1117.41037, released November 20, 2026.

    While working with code, Git now fails with:

    Git couldn’t create .git/index.lock because the .git directory is read-only in this session
    

    Git operations previously worked in the app. The issue started recently. I have not verified the precise sandbox policy or permission-selector behavior, so I am sharing this as an additional matching symptom rather than claiming the exact same cause.

    This is particularly similar to the .git write restriction reported in this issue.

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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions