codex icon indicating copy to clipboard operation
codex copied to clipboard

macOS Desktop 26.1027.51404: Full access control disappears after chat creation; effective session remains restricted

Open cainlee opened this issue 1 month ago • 35 comments

Environment

  • macOS, Apple Silicon
  • Desktop version: 26.1027.51404
  • UI: ChatGPT Work, GPT-6 Astra
  • Observed: 2026-11-01

Problem

The new-chat composer shows Full access selected. After entering an existing conversation and running commands, the entire permissions control is absent from the composer. The effective permissions supplied to the agent are restricted despite the locally saved Full access preference.

The user also reports that the first chat in a project can access SSH, while additional chats in the same project cannot. This distinction has not been independently reproduced under controlled conditions.

Observations

Two user-provided screenshots were inspected in the conversation:

  1. The new-chat screen shows the orange Full access control. It also shows Select project, so this screenshot alone does not establish a project-specific creation path.
  2. The existing Work conversation composer has no permissions control alongside the plus button and model selector.

The screenshots establish the UI difference, but do not establish that executing a shell command caused it; the transition may occur when the first message creates the conversation. Screenshots are not attached to this issue.

Configuration checked locally

~/.codex/config.toml contains:

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

The persisted desktop state also records both the legacy local agent mode and the local permission selection as full-access.

The current session's supplied effective policy is:

sandbox_mode: workspace-write
network access: restricted
approval policy: granular
sandbox_approval: false
permission_profile type: managed
file_system type: restricted

This reports the policy supplied to the agent; it is not a controlled OS-level network enforcement test. The managed label alone is not evidence of an organization-admin restriction. No runtime configRequirements/read response was captured.

Expected behavior

A chat created with Full access selected should use that selection when allowed. If a higher-priority restriction prevents this, show the effective mode and the reason. Keep a visible way to inspect the current chat's permissions instead of silently removing the control.

Related reports

  • #55922
  • #51624

Please investigate whether the new-chat and existing-chat permission paths differ, and provide a supported way to restore the permissions control or identify the overriding policy on macOS.

No credentials, private project content, full local paths, or raw logs are included.

cainlee avatar Nov 01 '26 10:11 cainlee

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #57555
  • #58307

Powered by Codex Action

github-actions[bot] avatar Nov 01 '26 10:11 github-actions[bot]

I can reproduce the same UI/runtime mismatch on macOS with ChatGPT desktop 26.1027.61615 (build 24141), using ChatGPT Work with GPT-6.1 Sol High. Observed on November 2, 2026.

UI behavior

  1. Start a new chat in a project with a local Git repository attached.
  2. The new-chat composer shows the orange Full access control selected.
  3. After sending a message, the permissions control disappears from the conversation composer.
  4. Asking the agent to fetch the repository fails.

The before/after screenshots were inspected locally, but are not uploaded here to avoid exposing project details. They demonstrate the UI difference; they do not establish exactly when or why the runtime policy was selected.

Effective session policy

The policy supplied to the agent reports:

sandbox_mode: workspace-write
network access: restricted
approval policy: granular
sandbox_approval: false
permission_profile type: managed
file_system type: restricted

The repository root is writable, while its Git metadata directory is explicitly read-only. The word "managed" alone does not establish that an organization administrator imposed the restriction.

Sanitized diagnostic results

These are selected results from local command checks, not raw application logs:

Create/write/remove a temporary file in the repository root:
SUCCESS; temporary probe removed

Open the existing Git FETCH_HEAD file for writing, without truncating
or writing any bytes:
Operation not permitted

git fetch origin:
error: cannot open '.git/FETCH_HEAD': Operation not permitted

Resolve github.com from a local shell process:
nodename nor servname provided, or not known

The fetch fails on local metadata access, so it does not independently test GitHub connectivity. The DNS failure is a separate observation and does not by itself prove a sandbox, DNS, VPN, or security-software root cause.

Expected behavior

Honor the selected Full access mode when supported, or keep the effective permission mode and the overriding reason visible in the conversation. Please provide a supported recovery path for a conversation whose permissions selector has disappeared.

No absolute local paths, usernames, project/repository names, account identifiers, credentials, configuration dumps, screenshots, or raw logs are included in this comment.

yxwcommerce avatar Nov 02 '26 22:11 yxwcommerce

I can reproduce this in ChatGPT Work on macOS (November 4, 2026). I selected Full Access before sending the first message in a new chat. Once that message was sent, the Full Access control disappeared. The session reported sandbox_mode: workspace-write and restricted network access, and those restrictions persisted on subsequent turns.

I also noticed two temporary issues with the message box in that same chat:

  • The first message was delivered, but its text stayed in the input box. The box cleared normally after later messages.
  • I couldn't paste an image while composing the second message. Later in the same chat, I could paste and send a screenshot successfully, while Full Access was still missing.

Quitting the app with Cmd+Q, restarting the Mac, and toggling Full Access off and back on in Settings have not resolved the permissions issue.

Update (November 4, 2026). The Full Access issue persists after updating ChatGPT for macOS to 26.1029.61003 (build 24614). In a new Work chat after the update, the session still reported workspace-write and restricted network access on the first turn.

Update (November 6, 2026). The issue is still present in ChatGPT for macOS 26.1103.31037 (build 25241). I have tested a newly created Work chat after updating, and Full Access is still unavailable. This version does not resolve the problem. The existing conversation also continues to report workspace-write and restricted network access.

This makes Codex in the desktop app unusable for my programming work. I am paying for a service whose core coding functionality I currently cannot use. Please provide a status update, an estimated timeline for a fix, and a supported way to restore Full Access.

sazmer avatar Nov 04 '26 09:11 sazmer

I saw similar behavior on macOS desktop 26.1103.60933. In the ChatGPT section, new Work conversations lost the permissions control after the first message and could not request local shell approval.

What worked for me was switching the top-left app selector from ChatGPT to Codex, then starting a new conversation in the same local project. Local shell approvals worked in the new conversation. The existing conversation still could not reach the GitHub API through gh after the switch, so it appears the new conversation is an important part of the workaround.

Could others reporting this try the same comparison and confirm which section they started in? This may help determine whether the issue also reproduces in a fresh conversation started from Codex.

chenmiaoxia avatar Nov 09 '26 10:11 chenmiaoxia

We are experiencing similar disruption on macOS with Apple Silicon and ChatGPT desktop 26.1103.60933 (bundled Codex CLI 0.167.0-alpha.3.2). Several existing ChatGPT Work conversations report restricted network access and no way to request expanded access, interrupting ongoing work across projects.

The local Codex configuration specifies full access and no approval prompts, but we cannot establish the affected Work turns' effective policy from the local Codex thread index. We have therefore not confirmed the underlying cause or established that changing the local configuration would fix these conversations.

The local Work executor logs also show intermittent disconnections and HTTP 401 responses marked expired, followed by reconnection. We cannot determine whether those events are related to the permission failures.

A new CLI or Codex conversation may allow work to continue, but that is not equivalent to restoring the existing Work conversations. Is there a supported way to restore the effective permissions of existing conversations while preserving their IDs, history and context? If this is a known regression, could the team share its status and the affected or fixed app versions?

No private paths, conversation IDs, account details, credentials or raw logs are included.

agentei7canalintro avatar Nov 10 '26 11:11 agentei7canalintro

I experienced the same issue for several days on my Mac Studio: Full access appeared before sending the first message, then disappeared. The agent also requested additional authorizations and sometimes refused actions.

As of November 10, it is working again in ChatGPT Work. An agent workflow completed browser operations, local document generation, and printing without the previous unexpected approval interruptions. I did not switch to the Codex section or use the workaround described above.

My currently installed ChatGPT desktop version is 26.1103.60933 (build 25894).

Another detail: throughout the affected period, the same agent worked correctly on my MacBook Pro M4. To my knowledge, both Macs had the same macOS version, desktop app version, and project environment. The project instructions and its three workflow skills are stored in the shared Dropbox project folder.

I did make some local adjustments while troubleshooting, but I cannot identify any specific change that restored normal behavior. I’m reporting a recovery on my machine, rather than claiming the issue is generally resolved.

Has anyone else seen this recover within ChatGPT Work without switching to Codex? Are there any clues about what could explain the different behavior between the two Macs, or whether a fix has been deployed?

Supercc avatar Nov 10 '26 18:11 Supercc

I'm experiencing the same issue on ChatGPT Work for macOS (Apple Silicon).

Previously, Full Access was available, and the agent could perform Git operations normally, including committing changes and removing worktrees.

Recently, the Full Access option disappeared from existing conversations. The agent can still edit project files, but Git write operations fail with:

fatal: Unable to create '.git/index.lock': Operation not permitted

The same operations work correctly in my local terminal.

I'm using ChatGPT Desktop version 26.1103.60933. The issue is preventing ongoing development and cleanup tasks from being completed automatically.

Is there a way to restore Full Access permissions in existing conversations without losing their context and history?

water-sashuishui avatar Nov 11 '26 06:11 water-sashuishui

I also encountered this problem. My version number is 26.1106.51428. Could you please solve this issue quickly? Please

zylFocus avatar Nov 11 '26 08:11 zylFocus

had the same issue 2 day, solved it by switching to codex + new thread, looks like it affected onlt work mode in chatgpt

image

sqandrew avatar Nov 11 '26 13:11 sqandrew

Windows.

I have the same issue. After sending the first prompt in a new ChatGPT Work session, the Security/permissions controls disappear from the UI. The session then behaves like a regular ChatGPT chat rather than a Work session, with no option to change security settings.

Workaround: Switch to Codex, start a new conversation, then switch back to ChatGPT mode.

image

LeszekKantorek avatar Nov 11 '26 15:11 LeszekKantorek

I'm experiencing nearly identical behavior in macOS desktop app version 26.1103.60933 today (11/11/2026).

The permissions selector appears before the first message but disappears after execution. I reproduced this across three new Work chats. In the third, I explicitly selected Full access and confirmed the warning before execution, but the agent subsequently reported workspace-write restrictions.

My sessions used Cloud execution, so the underlying permission restrictions may be expected. However, the disappearing selector and lack of clarity about effective permissions appear consistent with this issue.

I've submitted in-app diagnostic feedback: 2b1c002e-1b25-4564-bd3c-06a92010f96e.

I have screenshots showing the UI before and after execution. Thanks!

purpleeliz avatar Nov 11 '26 16:11 purpleeliz

I observed the missing permissions control in a local ChatGPT Work conversation on macOS 27.3 (Apple Silicon), desktop 26.1103.60933 (build 25894). Settings → General → Permissions showed Full access enabled. The active composer showed no permissions control. I could not verify which mode was selected before the first message.

The running conversation reported a managed, restricted filesystem profile with workspace-write. Two agents independently ran temporary-file probes in the same conversation. Both could read all three project folders and write inside the selected project root. Writes to both sibling project folders failed with EPERM (Operation not permitted). The successful probes were removed.

Please make the effective permissions and any overriding policy visible in the conversation.

ifkooo avatar Nov 11 '26 18:11 ifkooo

Reproduced on November 13, 2026 in a local ChatGPT Work chat on Apple Silicon (macOS 26.5.1). The installed desktop app reports version 26.1106.51428, build 26605.

  • In a fresh chat in a local project rooted in a Dropbox folder, the composer showed Full access before the first prompt. After sending that prompt, the permissions control disappeared. I also saw the control missing after the first prompt in a separate local chat using the same folder.
  • I verified that shell commands in the affected chat were executing on my Mac. The chat could read the project files, validate the local task ledger and load the prepared morning packet without approval prompts. Its effective profile was managed workspace-write with a restricted filesystem and network. It reported sandbox_approval: false, and the shell returned CODEX_SANDBOX_NETWORK_DISABLED=1.
  • A read-only SSH hostname check to my Mac mini over Tailscale using BatchMode=yes and ConnectTimeout=5 immediately exited 255 with ssh: connect to host <redacted> port 22: Operation not permitted, before authentication. No approval prompt appeared.

This interrupts a daily workflow that reads local Dropbox files and verifies current state against the Mac mini over SSH before applying updates. I can open the local inputs, but I cannot complete the SSH verification from the affected chat. The app should show the effective permissions for an active local chat and provide a supported way to restore the selected mode or explain the restriction. Is there a way to recover the existing chat or a build with a fix?

PatrickMartin5 avatar Nov 13 '26 14:11 PatrickMartin5

Follow-up from November 13, 2026. I confirmed a working way to start new local chats with Full access on Apple Silicon, macOS 26.5.1, and ChatGPT desktop 26.1106.51428 (build 26605).

In my earlier test, the new-chat composer showed Full access, but the control disappeared after I sent the first prompt. The app recorded the resulting conversation as a ChatGPT chat, and its effective runtime was restricted.

In three fresh-chat checks with Codex displayed in the top-left selector at creation, Full access stayed visible after the first prompt. The local session records for all three showed sandbox_policy.type: danger-full-access and approval_policy: never. The latest chat also reported unrestricted filesystem access and network access enabled. These checks verified the effective permissions. I haven’t rerun the SSH check from my earlier comment.

The workflow that now works for me, even inside a Codex project:

  1. Select Codex in the top-left app selector before creating the new chat.
  2. Confirm Full access is selected in the new chat’s composer before sending the first prompt.
  3. After the first prompt, verify that Full access is still visible.

Previously, in my setup, new chats in a Codex project inherited Codex mode regardless of what the top-left selector displayed. The project alone no longer reliably gives me that result. Is this change intentional, and is there a supported way to recover an affected existing chat while preserving its history?

PatrickMartin5 avatar Nov 13 '26 15:11 PatrickMartin5

Same here on macOS, still happening today (Nov 14). I selected Full access before starting a new Work chat, but the option disappeared once the conversation started. Running git fetch origin then fails with:

error: cannot open '.git/FETCH_HEAD': Operation not permitted

Any update on this? It's blocking basic Git operations.

VirusPC avatar Nov 14 '26 07:11 VirusPC

Codex Desktop 26.1103.31037, macOS 26.5.2, Apple silicon.

I authorized autonomous development across my own Macs, but the session’s existing SSH shortcut fails with:

ssh: connect to host [redacted] port 22: Operation not permitted

Computer Use also rejects Terminal:

Computer Use is not allowed to use the app 'com.apple.Terminal' for safety reasons.

I did not intentionally enable these restrictions. Neither attempt presented an approval prompt.

I understand Terminal automation is currently prohibited. Please provide a supported way to approve scoped SSH access to my own machines, clearly show which policy controls the session, and explain how to resolve unexpected restrictions.

This blocks autonomous build work and requires manual command relaying while I manage several projects. Please investigate the permission behavior and improve the approval experience.

AUsernameForYou avatar Nov 14 '26 18:11 AUsernameForYou

Additional reproduction on November 16 with ChatGPT Work (local execution), Desktop 26.1111.21308, macOS 27.3 on Apple Silicon.

  • The same Mac's terminal runs adb devices -l successfully and lists the USB device as online. lsof confirms ADB is listening on 127.0.0.1:5037.
  • In the affected Work conversation, adb devices -l fails. An independent Python socket probe gets EPERM when connecting to 127.0.0.1:5037 and when binding a fresh TCP socket to 127.0.0.1:0 or [::1]:0.
  • The user config specifies sandbox_mode = "danger-full-access" and approval_policy = "never". The affected conversation reports managed workspace-write, restricted network access, and sandbox_approval: false. Restarting the desktop app and reopening the same conversation leaves the failure unchanged.

ADB access had worked earlier that day. I did not capture the effective policy from the earlier successful run or verify the permission picker before this conversation's first message. Could you clarify what selects the effective profile for local Work conversations, and whether there is a supported way to restore access in an existing conversation?

qiyuey avatar Nov 16 '26 08:11 qiyuey

Additional Windows report observed on 2026-11-17 in ChatGPT Work:

  • The user reports that Git operations work in their ordinary local terminal, but the affected Work session fails to create a Git metadata lock file with Permission denied.
  • The effective policy supplied to the session is workspace-write, with the shared repository's .git directory read-only and sandbox escalation requests disabled (sandbox_approval: false).
  • The user reports completing a local permission configuration change. Retrying in the existing Work conversation still fails.
  • The selected permissions UI state and the effective policy of a newly started session have NOT been independently verified. This report does not establish that a fresh local Codex session ignores the configuration or that this has the same root cause as the original issue.

Please expose the source of the effective policy and provide a supported way to restore scoped Git/worktree write access in an existing Work conversation while preserving its history.

No usernames, actual local paths, project names, credentials, conversation IDs, or raw logs are included.

alex-kang-ovdr avatar Nov 17 '26 04:11 alex-kang-ovdr

I'm seeing this intermittently on the Windows ChatGPT desktop app with a Plus account. It has happened several times.

  • In an affected Work project conversation, both the permissions control on the left and the context-window usage indicator near the model picker disappear. The composer looks like regular Chat. Before the issue appeared, I had selected GPT-6.1 Sol with Medium reasoning as my Work model. The picker continued to display that selection after the controls disappeared. I also see my Work/Codex allowance go down while using the conversation.
  • The agent can still edit project files. A Git operation failed with fatal: Unable to create '.git/index.lock': Permission denied.
  • Opening a new conversation in Codex shows the permissions control before I send a message. I expect the context indicator to appear after the first response, but I haven't verified that part. I don't have a reliable trigger for the affected state.

I wonder whether this could be related to the announced integration of Work into the main ChatGPT experience and the December change to shared ChatGPT/Codex usage. Could the app be showing the Chat composer for a conversation that still runs under Work permissions and usage accounting? This is a hypothesis based on the UI and usage behavior I observed.

jack1415926 avatar Nov 17 '26 09:11 jack1415926

Additional reproduction on November 18, 2026:

  • ChatGPT desktop 26.1111.21308, build 27194
  • macOS 27.0.1, Apple Silicon
  • User reports the permissions control disappeared immediately after starting this Work chat.
  • Effective session policy: workspace-write, restricted network, sandbox_approval: false, repository .git read-only.
  • An existing SSH shortcut failed before authentication: ssh: connect to host <redacted> port 22: Operation not permitted.
  • git pull --ff-only origin main failed: error: cannot open '.git/FETCH_HEAD': Operation not permitted.
  • Local configuration inspection found the project still trusted and no explicit sandbox/approval override in the inspected config files.
  • User reports switching to Codex and starting a new task appeared to restore access. That recovery has not been independently verified from the affected chat.

No keys, network settings, or application configuration were changed during diagnosis.

jschaffer avatar Nov 18 '26 19:11 jschaffer