You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Full access selected, but local Work execution remains restricted across new chats. #54837
Full access selected, but local Work execution remains restricted across new chats.
Environment:
macOS 26.6.2 (25G83)
Desktop app 26.1013.40934
ChatGPT Work with local execution
Both the existing conversation and a new Work chat report workspace-write, restricted networking, and sandbox escalation disabled, despite Full access being selected.
Earlier app logs separately record workspaceWrite, networkAccess=false, and sandboxPolicySource=default. The underlying configuration source has not been identified.
SSH to Anchor at 100.99.139.45:22 fails immediately with “Operation not permitted”, before authentication. Tailscale reports Anchor online.
Checks found no MDM enrollment, no /etc/codex/requirements.toml, no legacy managed_config.toml files, and no relevant overrides in the checked user/project configuration.
Logs: ~/Library/Logs/com.openai.codex/2026/10/17/
Please inspect the attached session’s effective permission configuration and any policy assignment, identify its source, and explain how to restore authorised SSH access to this destination.
Reproduced on macOS 27.2.1 (Apple Silicon) with ChatGPT Desktop 26.1117.41037 (build 29803) on 2026-11-21.
Permissions
In Work → Projects, the new-chat composer displayed Full access. Two newly created chats reported workspace-write, restricted networking, and disabled sandbox escalation.
For the second test, I set local file access and local approval policy to Use default in Work settings. My ~/.codex/config.toml contained sandbox_mode = "danger-full-access" and approval_policy = "never". Both Work network access and local network access were enabled.
DNS comparison on the same Mac
Environment
socket.getaddrinfo("developers.openai.com", 443)
macOS Terminal
Succeeded
Shell in the first Work chat
Failed with socket.gaierror(8)
Shell in the second Work chat
Failed with socket.gaierror(8)
Startup instructions and skills
Both chats omitted the contents of my global ~/.codex/AGENTS.md and two user skills from their initial context. The files remained readable on disk. A Desktop session on the previous build (26.1117.31558) had loaded all three, although its working directory was different. I haven’t established whether this shares a cause with the permissions issue.
How can I verify which permission profile Desktop actually applies when creating a chat from Work → Projects?
I’m seeing the same issue on Codex Desktop 26.1117.41037 (macOS arm64). In Work, Full access is selected and Local network access is set to On. The issue persists in new chats.
Minimal reproduction: Ask a Work chat to run this command:
node -e 'require("node:net").createServer().listen(0,"127.0.0.1",function(){console.log(this.address());this.close()})'
Expected: Node opens a temporary localhost port, prints the assigned port, and exits.
Actual: Node fails with listen EPERM: operation not permitted. The active Work session still reports a managed workspace-write profile with restricted networking despite the settings shown in the app.
This reproduces without Next.js or a fixed port. Could you confirm whether Full access is supposed to permit localhost listeners in Work, and how to check which permission profile the desktop app actually applies?
I tested the exact app-server binary bundled with ChatGPT Desktop 26.1117.41037 (codex-cli 0.171.0-alpha.13) from iTerm. A command/exec request with sandboxPolicy: {"type":"dangerFullAccess"} successfully opened a TCP listener on 127.0.0.1 and exited with code 0. The same Node command fails with listen EPERM inside Work, where the effective session reports workspace-write and restricted networking despite Full access being selected. Which diagnostic log shows the permission profile requested by the Desktop client and the effective profile applied to Work execution?
I reproduced this on macOS 27.0.1 (Apple Silicon) with ChatGPT Desktop 26.1117.41037 in a local Work chat. The UI showed Full access, but the shell still ran with an effective workspace-write profile, restricted networking, and sandbox escalation disabled. An escalation request was rejected before it could prompt me.
Check
In the Work chat
In iTerm on the same Mac
docker version with Docker Desktop running
The client starts, but the connection to the Docker Unix socket fails with operation not permitted
Both Client and Server sections are returned
ssh -o BatchMode=yes -o ConnectTimeout=5 <host> true against a server I administer
The TCP connection to port 22 fails with Operation not permitted before authentication
The connection succeeds
This blocked an otherwise routine deployment from Work. I completed the same deployment from iTerm. Could you clarify how to tell whether a managed policy is overriding the Full access selection or whether the selected profile is failing to reach the local shell executor? Happy to provide a redacted diagnostic excerpt if you can point me to the relevant field.
I’m seeing the same permission mismatch on macOS (Apple Silicon) with Codex Desktop 26.1120.50957.
I selected Full access before sending the first message in a new local Work thread. The thread still received a restricted managed permission profile with workspace-write and restricted network access. The permission selector is also missing from the composer in the affected thread, so I can’t change the mode there.
Expected: The new thread starts with Full access, as selected.
Actual: The new thread starts with restricted workspace-write permissions.
Activity
github-actions commentedon Oct 17, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
eliasprunaire commentedon Nov 21, 2026
Hi there, my 2 cents
Reproduced on macOS 27.2.1 (Apple Silicon) with ChatGPT Desktop
26.1117.41037(build29803) on 2026-11-21.Permissions
In Work → Projects, the new-chat composer displayed Full access. Two newly created chats reported
workspace-write, restricted networking, and disabled sandbox escalation.For the second test, I set local file access and local approval policy to Use default in Work settings. My
~/.codex/config.tomlcontainedsandbox_mode = "danger-full-access"andapproval_policy = "never". Both Work network access and local network access were enabled.DNS comparison on the same Mac
socket.getaddrinfo("developers.openai.com", 443)socket.gaierror(8)socket.gaierror(8)Startup instructions and skills
Both chats omitted the contents of my global
~/.codex/AGENTS.mdand two user skills from their initial context. The files remained readable on disk. A Desktop session on the previous build (26.1117.31558) had loaded all three, although its working directory was different. I haven’t established whether this shares a cause with the permissions issue.How can I verify which permission profile Desktop actually applies when creating a chat from Work → Projects?
hassankhosro commentedon Nov 21, 2026
I’m seeing the same issue on Codex Desktop 26.1117.41037 (macOS arm64). In Work, Full access is selected and Local network access is set to On. The issue persists in new chats.
Minimal reproduction: Ask a Work chat to run this command:
node -e 'require("node:net").createServer().listen(0,"127.0.0.1",function(){console.log(this.address());this.close()})'
Expected: Node opens a temporary localhost port, prints the assigned port, and exits.
Actual: Node fails with listen EPERM: operation not permitted. The active Work session still reports a managed workspace-write profile with restricted networking despite the settings shown in the app.
This reproduces without Next.js or a fixed port. Could you confirm whether Full access is supposed to permit localhost listeners in Work, and how to check which permission profile the desktop app actually applies?
hassankhosro commentedon Nov 21, 2026
I tested the exact app-server binary bundled with ChatGPT Desktop 26.1117.41037 (codex-cli 0.171.0-alpha.13) from iTerm. A command/exec request with sandboxPolicy: {"type":"dangerFullAccess"} successfully opened a TCP listener on 127.0.0.1 and exited with code 0. The same Node command fails with listen EPERM inside Work, where the effective session reports workspace-write and restricted networking despite Full access being selected. Which diagnostic log shows the permission profile requested by the Desktop client and the effective profile applied to Work execution?
VladShulg commentedon Nov 23, 2026
I reproduced this on macOS 27.0.1 (Apple Silicon) with ChatGPT Desktop 26.1117.41037 in a local Work chat. The UI showed Full access, but the shell still ran with an effective
workspace-writeprofile, restricted networking, and sandbox escalation disabled. An escalation request was rejected before it could prompt me.docker versionwith Docker Desktop runningoperation not permittedssh -o BatchMode=yes -o ConnectTimeout=5 <host> trueagainst a server I administerOperation not permittedbefore authenticationThis blocked an otherwise routine deployment from Work. I completed the same deployment from iTerm. Could you clarify how to tell whether a managed policy is overriding the Full access selection or whether the selected profile is failing to reach the local shell executor? Happy to provide a redacted diagnostic excerpt if you can point me to the relevant field.
91debug commentedon Nov 26, 2026
I’m seeing the same permission mismatch on macOS (Apple Silicon) with Codex Desktop 26.1120.50957.
I selected Full access before sending the first message in a new local Work thread. The thread still received a restricted
managedpermission profile withworkspace-writeand restricted network access. The permission selector is also missing from the composer in the affected thread, so I can’t change the mode there.Expected: The new thread starts with Full access, as selected.
Actual: The new thread starts with restricted
workspace-writepermissions.