Skip to content

Windows Desktop 26.1106.6628.0 omits attached secondary project folders from writable roots #60812

Open

Description

@Jiraiya1969

Environment

  • Windows 11 26H2, build 26300.9974
  • Codex Desktop package 26.1106.6628.0. Windows deployment logs show the update on November 11, 2026, with prior package version 26.1103.7773.0.

Reproduction

  1. Open a local project with a primary folder and four attached secondary source folders.
  2. Confirm Project settings still lists all five folders.
  3. Open a local project chat and inspect its effective writable roots without modifying files.

Expected

Attached secondary source folders are available for editing, as described in https://learn.chatgpt.com/docs/projects.

Actual

Only the primary project folder appears among the project writable roots. All four attached secondary folders are absent. A secondary folder can still be listed from PowerShell. Its Windows ACL grants Modify to CodexSandboxUsers. No write probe was run.

The operator first observed this after applying the app update. The update timing is verified, and the underlying cause remains unconfirmed. The local workspace-write configuration has no manually configured writable_roots entry. Is the desktop app failing to carry the attached source folders into the effective permissions for this chat?

Related: #35260 reports a similar missing-secondary-folder symptom on macOS.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Nov 11, 2026
  2. Jiraiya1969 commented on Nov 13, 2026

    @Jiraiya1969
    Author

    November 13 follow-up — reproduced in a newly created project

    I created a new local project in Codex Desktop Work mode on Windows with multiple work folders. The secondary-folder write-access problem also occurred in that new project. Recreating the project did not restore write access.

    This adds a fresh-project reproduction to the existing-conversation evidence above. In my main project, loss of write access to the attached test environment has halted development because I cannot run the established validation workflow.

    Please investigate how attached work folders are included in the effective writable roots when a new project session starts, and share any supported workaround or fix status.

  3. piotrkolasact commented on Nov 13, 2026

    @piotrkolasact

    I am experiencing the same problem on Windows with ChatGPT desktop version 26.1106.6628.0. It started on November 11, 2026; before that, writing to the attached folders worked without problems.

    The additional folders are still listed in Project settings, but the active session only receives write access to the primary project folder. In our tests, creating and reading back a text file inside the primary folder succeeds, while creating a text file on the Desktop (also attached to the project) fails with Access denied. My Windows account has Full Control on both locations. Starting new local chats has not resolved the issue.

    Please investigate the missing write access to attached secondary folders and share any supported workaround or fix.

  4. Baeleaf commented on Nov 14, 2026

    @Baeleaf

    I'm also seeing this on Windows in local Work mode, reproduced on November 14, 2026.

    My project has two attached local folders: Folder A is primary, and Folder B is secondary. Both are existing WoW AddOns directories.

    What happened

    1. With Folder A primary, the agent could create files in A and read/list B, but creating an addon directory in B failed with Access denied.
    2. Project settings showed B attached. Read-only inspection of the saved project configuration also confirmed that B was present.
    3. Windows ACL inspection showed my account had Full Control on both folders. The affected command session's declared writable locations included A but omitted B.
    4. Starting a brand-new local Work chat after attaching B still produced the same failure.
    5. Closing WoW did not change the result.
    6. I then made B primary, saved, and started another new local Work chat. Installation into B succeeded, and the copied files were verified against the originals.

    Changing the primary folder and opening a fresh chat therefore worked around the problem for this installation. It did not establish that both attached folders were writable in the same session.

    I'd prefer to keep Folder A primary and still edit Folder B. The documented behavior says secondary folders remain available for editing: https://learn.chatgpt.com/docs/projects

    No Windows ACLs were changed during troubleshooting. I haven't established which app version introduced this.

    This adds an actual failed secondary-folder write and a successful primary-folder workaround to the reproduction above. Is there a supported way to restore write access to all attached folders without switching the project's primary folder for each task?

  5. mchadma1982-prog commented on Nov 15, 2026

    @mchadma1982-prog

    I’m seeing a similar issue on Windows with ChatGPT desktop version 26.1111.21308.

    A local project has two attached folders. In Work, the session’s write permissions include only the folder that was primary when the chat started. Switching the primary folder and creating a new Work chat gives that new chat write access to the newly selected primary folder.

    In contrast, a Codex chat using the same project successfully created, read, verified, and deleted temporary test files in BOTH attached folders.

    This suggests a difference between Work and Codex in how attached folders are included in session permissions. Existing files were untouched during the tests.

    Expected: both attached folders should be writable from either mode, with Primary selecting the default working directory.

  6. JimFouch commented on Nov 16, 2026

    @JimFouch

    I’m seeing the same issue on Windows in local ChatGPT (Version 26.1111.21308) Work sessions. My project has two attached folders. The firmware folder is primary, and the Visual Studio controller folder is secondary. Both are listed in Project Settings, but the Work session lists only the primary folder as writable. It can read the controller source, but trying to create a temporary file there returns Access is denied.

    I ran the same create, read, and delete test in a normal PowerShell window under my Windows account, and it passed. I removed and re-added the secondary folder and tried several fresh Work chats. The failure persisted.

    This has affected more than one of my projects recently. I’d been able to edit these folders through Work for several weeks before the problem started. I expect Work to honor the read/write access for each attached folder so I can keep each project scoped to its own source directories.

  7. Jiraiya1969 commented on Nov 16, 2026

    @Jiraiya1969
    Author

    Resolved on my Windows setup. After troubleshooting, I found that my config.toml had been damaged during the last Codex app upgrade. I uninstalled the Windows app, verified that config.toml was gone from its usual location, and reinstalled the app. Once initialization finished, I could write to my attached secondary project folders again. All of my projects and progress were still there.

    If you try this, back up your configuration and project data first. I didn’t need to restore anything in my case.

  8. NimuraF commented on Nov 22, 2026

    @NimuraF

    Same issue on MAC, version 26.1117.41037

  9. ThomasRenard commented on Nov 23, 2026

    @ThomasRenard

    Same issue on PC - Intel(R) Core(TM) i7-14700K (3.40 GHz) 64 GB - version 26.1117.41037

    =========

    Resolved after a completely clean reinstall

    I can confirm that the issue is now resolved on my Windows 11 system.

    After several unsuccessful attempts to fix the problem by changing sandbox and approval settings, I performed a completely clean reinstall of ChatGPT Desktop.

    Steps taken:

    1. Completely closed and uninstalled ChatGPT Desktop.
    2. Backed up and removed the existing .codex configuration directory.
    3. Reinstalled ChatGPT Desktop, allowing it to initialize with a fresh configuration.
    4. Created a new local Work project with two attached folders: one primary and one secondary.
    5. Tested file creation and verified the results in both folders.

    Result: Both folders are now fully writable in ChatGPT Work Local.

    Previously, writing to the secondary folder consistently failed with:

    writing outside of the project; rejected by user approval settings

    After the clean reinstall, both write tests succeeded without errors.

    I also noticed that the approval options in the interface became available again. Previously, "Ask for approval" was greyed out and could not be selected.

    Conclusion: A clean reinstall combined with resetting the .codex directory resolved the issue on my system.

    I cannot confirm whether the underlying cause was a corrupted configuration file, another part of the local application state, or a combination of both.

    Hopefully, this helps others experiencing the same problem.

  10. GlowingFederal commented on Nov 23, 2026

    @GlowingFederal

    I encountered the same Windows sandbox issue across multiple repositories and found a working workaround.

    Observed behavior:

    • Under workspace-write, only the project's primary directory appeared to receive write permissions.
    • Additional repository directories and Gradle caches were inaccessible despite my Windows user having Full Control.
    • Gradle wrapper lock files failed with ERROR_ACCESS_DENIED (0x80070005), before lock acquisition.

    Successful workaround:

    I created an entirely new Codex project with C:\Users\MyUserName configured as the primary folder from the beginning.

    This encompasses both my GitHub repositories (Documents\GitHub) and Gradle caches (.gradle).

    The agent subsequently progressed through builds, repository investigation, and runtime testing without reporting the previous permission failures.

    Importantly, this worked under workspace-write without enabling Full Access.

    This suggests an issue with how Codex initializes or propagates sandbox writable roots, particularly for multi-directory projects. The primary-folder configuration appears to be significant, and changes to existing projects may not be reflected in the effective sandbox permissions.

    No Gradle homes, environment variables, or Windows ACLs needed modification.

  11. aloeLe commented on Nov 26, 2026

    @aloeLe

    Reproduced on Windows with ChatGPT Desktop 26.1120.50957 (Plus), as of Nov 26, 2026. Both local Work and Codex modes are affected on this installation.

    • Project settings list the attached folders; secondary folders remain readable but writing fails.
    • The effective environment_context.filesystem.workspace_roots and writable entries in permission_profile.file_system omit the secondary folders.
    • Restarting the app, re-adding folders and creating fresh project tasks did not resolve the problem. An independent local task with the affected folder as its primary working directory can write successfully.
    • Read-only inspection confirmed that both folders are persisted in the current local project state database (.codex-global-state.sqlite, local-projects / rootPaths) and registered as trusted in config.toml. The older JSON state file is less recent than the SQLite state. This does not establish a migration-related root cause, but may be useful for diagnosis.

    Expected: all attached, user-authorized writable project folders should be included in the effective session permissions in both Work and Codex. Could OpenAI investigate the propagation of project root paths to the sandbox and provide a supported non-destructive workaround? No private paths, credentials or business files are included here.

  12. aloeLe commented on Dec 2, 2026

    @aloeLe

    Dec 2 follow-up — per-project Chat association failure

    I found an additional project-level inconsistency on the same Windows installation (ChatGPT Desktop 26.1120.50957, Plus). This may be separate from the secondary-folder writable-root issue above, but it could be relevant to local-project metadata/context propagation.

    • One affected Local Project is still visible and opens normally in the desktop app.
    • That project does not offer/allow New Chat.
    • The same project is omitted from the Move to project destination list for an ordinary Chat conversation.
    • Other Local Projects on the same account and client, also associated with local folders, can create new Chats and do appear as move destinations.

    This isolates the behavior to a single project's registration/association state rather than a general limitation of Local Projects or the source Chat. The affected project therefore appears to be recognized by the sidebar/project view but not by the Chat creation and project-assignment flows.

    No private project names, local paths, conversation contents, credentials, or business files are included.

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