Skip to content

macOS Codex Desktop 26.1106.51428 blocks Git writes with Full Access enabled #61297

Open

Description

@bizmonger

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

26.1106.51428

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

Full Access is enabled in ChatGPT Desktop under Settings → General → Permissions. The permission selector was missing from the Work composer. I switched to Codex and started a fresh local chat using “This computer” and the primary repository checkout. Git still failed when the agent tried to stage changes.

My ~/.codex/config.toml has these top-level settings:

sandbox_mode = "danger-full-access"
approval_policy = "never"

The agent reported that the sandbox blocked Git from creating .git/index.lock. I verified that no index.lock file exists. No changes were staged, committed, or pushed.

Expected: With Full Access enabled, I can select it in a local Codex chat, and Git can stage changes when that mode is active.

Actual: A fresh local Codex chat still cannot create .git/index.lock. Please check which permission profile the desktop app assigns to the session and why.

What steps can reproduce the bug?

  1. Enable Full Access under Settings → General → Permissions.
  2. Switch to Codex and start a fresh chat for a local Git repository. Choose “This computer” and leave Worktree off.
  3. Ask Codex to commit the pending edits.
  4. Observe that Git fails while staging because it cannot create .git/index.lock.

What is the expected behavior?

With Full Access enabled in Settings, it should appear in the permission selector for a fresh local Codex chat. Once selected, Codex should be able to run git add and git commit in the local checkout without the sandbox blocking creation of .git/index.lock. If a managed policy prevents Full Access, the app should show which policy applies.

Additional information

No response

Activity

  1. added
    app
    on Nov 13, 2026
  2. added
    bug
    sandbox
    on Nov 13, 2026
  3. FoxsterDev commented on Nov 18, 2026

    @FoxsterDev

    Additional macOS Work occurrence — November 18, 2026

    At the affected user's request, separating the Git symptom from the Simulator-access report in #54691.

    Verified installed environment: desktop 26.1111.21308 (27194), macOS 26.6.2 (25G83), arm64.

    An existing local Work task reports that Git cannot create .git/index.lock, while ordinary source-file edits remain saved. The same task's post-restart turn still receives effective workspace-write with sandbox_approval=false and request_permissions=false. The owner reports the permission-mode selector is missing in that chat, so they cannot select another mode there. Selector absence is user-reported, not independently visually verified.

    Limits: the Git failure comes from the existing task's report; this diagnostic did not perform another staging/commit probe. No evidence here proves that this affected task was actually running with Full Access, so a Git write restriction under its effective sandbox is not by itself claimed as a defect. The actionable issue is the inability to see/reconcile that effective permission mode and recover authorized Git work in the existing chat. A stale lock, repository corruption or common root cause with Simulator failures has not been established.

    Please provide a supported same-chat permission explanation/recovery path that preserves saved changes. No locks were deleted, permission stores edited, commits/pushes attempted, or private paths/source/identifiers published.

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

    appbugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions