Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1106.51428
What subscription do you have?
pro
What platform is your computer?
MAC
What issue are you seeing?
macOS desktop: only the primary project folder is writable
Date: 11 November 2026
Related open report: #35260
Environment
- ChatGPT/Codex desktop app, Work mode, on a local Mac.
- App version reported in the current client context: 26.1106.51428.
- macOS 27.2.1 and arm64, measured through the local executor.
- Project with multiple attached local folders: a development repository and an Obsidian vault. Private folder paths are omitted here.
Problem and impact
The user reports that multi-folder writing worked for weeks. Now only the primary project folder is writable. Additional attached folders remain readable but writes are rejected. This prevents a single task from updating code and the related Obsidian content together; the user has had to run prepared changes manually in Terminal.
The exact version that introduced the problem has not been established. An app update is suspected, not proven to be the cause.
Observations and reproduction
- Attach the repository and the vault to the same project. The user reports that both are shown as attached.
- Make the repository primary and ask the agent to create a uniquely named temporary file in the vault.
- Creation fails with
PermissionError: [Errno 1] Operation not permitted. No file is created. - A previously authorized deletion in the vault failed with the same error at its first
os.unlink; no deletion occurred in that attempt. - The effective context of the affected conversation lists the repository, but not the vault, among writable roots. The explicit permission profile grants writes to the repository and runtime temporary directories, but not the vault.
- Fully quitting and reopening the app did not fix this existing conversation; subsequent temporary-file probes still failed.
- The user then tested switching the primary folder and starting a fresh conversation. The user reports that whichever folder is primary is writable, while the other folder remains unwritable. Those separate-conversation outputs were not independently inspected in this report.
The same prepared edits succeeded in the user's normal macOS Terminal. Agent commands run as the same local user (UID 501). Inspected directory ownership and ordinary permission bits allow the owner to write; no immutable flag or additional deny ACL was displayed. This does not exclude every possible macOS privacy restriction, but the missing effective writable root is a concrete discrepancy.
A request to inspect macOS unified logs through /usr/bin/log show was itself rejected with Cannot run while sandboxed.
Expected behavior
All folders explicitly attached to the project with write access should be included in the effective write policy, including in a single task that needs two or three folders. Changing the primary folder should select the working directory rather than remove write access to other attached folders.
Requested investigation
- Investigate propagation of attached project folders to runtime workspace roots and filesystem permissions.
- Clarify when existing Work conversations refresh these permissions after project edits and app restarts.
- Confirm whether named, project-local permission profiles with explicit workspace roots are honored in this desktop Work surface, and how to select them.
No macOS permissions, ACLs, or global app configuration were changed during diagnosis. No API tokens, passwords, note bodies, account identifiers, or private filesystem paths are included in this report. This file is a prepared report, not confirmation that feedback has been submitted.
What steps can reproduce the bug?
Feedback ID: 5b2cac5a-f9c8-45ef-96cc-4fefa5bcefa1
What is the expected behavior?
No response
Additional information
No response
Activity
github-actions commentedon Nov 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ifkooo commentedon Nov 11, 2026
I’m seeing the same issue in Work mode on macOS (Apple silicon) with desktop version
26.1106.51428.My project still has eight local repositories attached. On Nov 10, local session records showed write access to all eight from a chat with the same primary repository. In my current chat, only the primary repository is listed as writable. The other attached folders are readable. Creating a temporary file in them fails with
Operation not permitted.This blocks changes across repositories from a single chat. Could you check why the secondary project folders are missing from the session’s writable roots?
anssiv commentedon Nov 12, 2026
I'm experiencing multiple serious regressions with Codex Desktop 26.1106.51428 on macOS (Apple Silicon).
Secondary repository access is broken. Repositories explicitly configured under
writable_rootsremain inaccessible. Access has also been granted explicitly in chat, but Codex still refuses to write outside the primary repository.Git operations are blocked. Codex fails to stage changes because it cannot create
.git/index.lock, returningOperation not permitted.Other filesystem operations fail. Writing to directories outside the primary workspace fails with
Operation not permitted, even when permissions have been configured.Permission settings are ignored. Configured writable roots, trusted repositories, and explicit user approvals do not resolve the issues. Restarting the application and starting new conversations haven't helped.
Existing conversations become unusable after restarting the app. Previously local conversations switch to Cloud mode after restarting Codex Desktop. I can no longer continue working in those conversations locally, effectively forcing me to start new conversations and lose the working context.
MCP tools are unavailable in Desktop. A custom MCP server works correctly in Codex CLI but remains unavailable in Codex Desktop, even after logging out and back in.
These workflows previously worked. The regressions became apparent around November 11–12, 2026.
The combination of broken filesystem permissions, blocked Git operations, and conversations unexpectedly switching to Cloud mode makes Codex Desktop practically unusable for normal development.
This appears to be a regression in Codex Desktop's permission handling and session management, rather than a workspace configuration issue.
shjo0115 commentedon Nov 12, 2026
I am also affected by this on macOS (Apple Silicon), using ChatGPT/Codex Desktop 26.1106.51428 in Work mode. The problem is still blocking my work on November 12, 2026 (KST).
Local development and file-editing workflows that previously worked are now blocked: additional folders attached to the project can be read, but the agent cannot write to them. Adding the folders again and repeatedly retrying the work has not restored access.
In the current affected conversation, the supplied filesystem permission profile grants write access to the primary project mirror and temporary/runtime directories, but the additional local development folder is absent from the writable roots. Explicitly asking the agent to edit that folder does not change the effective policy.
This has prevented me from completing updates to my local teaching application (SPACE) and continuing textbook/material-processing work. The app update/install workflow is also blocked; I understand that writing to an application installation directory may require separate authorization. The main issue here is that attaching the development folder does not give the agent the write access needed to finish the code changes.
Could the team please investigate whether attached-folder permissions are failing to propagate to Work sessions, and provide a supported way to restore access? Please also clarify whether existing conversations need to be recreated after a fix. I cannot establish the exact cause or the version that introduced this, but these workflows were working before the recent failures.
A fix status or supported workaround would be very helpful, as this is interrupting daily teaching preparation. Thank you.
HKohlhoff commentedon Nov 12, 2026
The bug fix needs to come quickly because right now the app is unusable and our work can not be continued with a lot of switching and problems.
Why does openAI make theses changes without extensive information to users. It is bad practice and customer-relation.
The possibility to work as before the update determines the further use of openAI / ChatGPT, or switch to another provider. Claude is not that bad...
shjo0115 commentedon Nov 13, 2026
I was previously on Pro 200 and upgraded to Pro 500 this month specifically because I planned to do much more serious local development work with Codex.
Right after upgrading, this write-access regression started.
Only the primary workspace folder is writable. Additional folders can be read, but Codex cannot modify or save files there. This completely blocks my real workflow, which depends on working across multiple local folders.
I upgraded to Pro 500 to work more, but I’m currently unable to use the functionality I upgraded for.
Please prioritize a fix for this regression as soon as possible.
Environment: macOS (Apple Silicon), Codex Desktop 26.1106.51428, Pro account.
kumarnimit commentedon Nov 19, 2026
Stuck with this regression and it seems there are three issues still on Codex Desktop 26.1111.71704 (Mac, Apple Silicon):
I had multiple folders in a project - this still is not working on as the write permission for non primary folders stopped working (issue acknowledged in #61297 ) . Fortunately, these folders were all organized under a parent, so i gave access to the parent folder and then removed all other subfolders from the project settings. This still did not work until i created a new chat.
While we can work around 1 and 2, 3 is making Codex unusable without external tool access.
andyfly100 commentedon Nov 22, 2026
Same symptom here (macOS, Apple Silicon, Plus, Work mode), with a clear before/after between two versions, plus a working rollback.
Setup: a CLI tool must write a lock file in
~/.<tool>/(outside the project).~/.codex/config.tomlhas:26.1111.71704: works. From Nov 14 to Nov 20, Work chats in this project ran the tool successfully every day. Their session context shows
sandbox_policy: workspace-writewith thewritable_rootsfrom config.toml, plus the project's second folder.26.1117.41037 (auto-updated Nov 22): broken.
~/.codex/sqlite/codex.db(local_thread_catalog): hostchatgpt,conversation_origin = "tpp", nocwd. Older chats were hostlocal,source_kind = vscode, withcwdset to the primary folder.sandbox_mode = "workspace-write"andapproval_policy = "granular", withsandbox_approvalauto-rejected. The only writable local path is the primary project folder; everything else is temp/runtime dirs.config.tomlwritable_rootsare not applied, and secondary project folders are read-only.open ~/.<tool>/.data.lock: operation not permitted.config.toml. The Work scope has no writable-roots option ("Local file access" offers only default / read-only / workspace-write), and its approval setting says it applies to "native Work mode" chats.~/.<tool>as an extra project folder (and trusting it) did not help: it stays read-only.Rollback fixes it. I reinstalled 26.1111.71704 from the official appcast (
persistent.oaistatic.com/codex-app-prod/appcast.xml; the Developer ID team matches) and disabled Sparkle auto-update. New Work chats are back on hostlocal,config.tomlwritable_rootsapply again, and the tool works. No other changes were needed.Request: let native Work mode chats honor
sandbox_workspace_write.writable_roots(or expose additional writable roots in the Work scope), and keep secondary project folders writable as before. Please also note this in the release notes: auto-update silently broke a workflow that had worked for weeks.yangshihao2020-sketch commentedon Nov 24, 2026
Additional macOS reproduction — still occurring on November 25, 2026
I am also affected by this issue. Fresh filesystem probes in my affected Work conversation reproduced the failure at 2026-11-25 00:53 UTC+08:00 (2026-11-24 16:53 UTC).
Environment
Actual write tests in Work
Each probe attempted to exclusively create a randomly named temporary file, write a random payload, read it back, verify it, and delete the test file.
PermissionError: [Errno 1] Operation not permittedPermissionError: [Errno 1] Operation not permittedAll three directories exist. The two failed probes created no files. The successful primary-folder test file was deleted. Existing files were untouched.
The effective permission profile supplied to this Work conversation includes the primary project directory and temporary/runtime locations as writable, but omits the two target directories. It reports
workspace-writeand granular approval, with sandbox approval requests disabled.Codex comparison
I can write to the same target directories using Codex, while Work continues to fail. This Codex success is my reported comparison; the fresh, independently captured probe results above are from Work. A similar Work-versus-Codex difference was reported in #60812.
Impact and request
This blocks an everyday literature workflow that needs to save notes in Obsidian and archive original PDFs in a separate attached folder. I have explicitly authorized these writes, but Work cannot complete them.
Could the team please:
Expected behavior is that explicitly attached, write-authorized folders remain editable together, with the primary folder selecting the default working directory, consistent with https://learn.chatgpt.com/docs/projects.
This report does not establish the root cause or the version that introduced the problem. No macOS permissions or app configuration were modified for these probes.