Skip to content

An additional local directory was added to a Work project on Windows, but the current session did not receive write access #62954

Open

Description

@sovlovs

关联 #22044 和 #50772。

2026-11-21,ChatGPT Work 的项目设置显示主开发目录和额外本地目录。当前会话的实际可写目录清单却未包含后者。用户已明确授权安装,实际安装器仍在创建备份子目录时收到 UnauthorizedAccessException,退出码为 1。

只读检查发现,主目录向当前沙箱受限身份授予修改权限,额外目录上的授权对应另一个未包含在当前进程令牌中的身份。安装失败后的文件核对显示,载荷和用户数据均未改变。

界面说明目录设置适用于新建的本地聊天。目录添加时间与当前聊天创建时间的先后未记录,因此尚不能区分既有会话权限快照与沙箱权限配置故障。客户端构建版本未采集,也未证明与模型版本有关。

请确认现有聊天应如何通过受支持的方式识别、刷新额外目录权限,以及本例是否属于 #22044 的修复范围。

本报告由 ChatGPT Work 根据用户授权的本机调查整理,已删除真实路径、机器名和身份标识,未附加原始文件。

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    session
    on Nov 21, 2026
  2. changed the title [-]Windows Work 项目已添加额外本地目录,但当前会话未获得对应写权限[/-] [+]An additional local directory was added to a Work project on Windows, but the current session did not receive write access[/+] on Nov 21, 2026
  3. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    English translation:

    Related to #22044 and #50772.

    On 2026-11-21, the ChatGPT Work project settings showed the main development directory and an additional local directory. The current session’s actual list of writable directories did not include the additional directory. The user explicitly authorized the installation, but the installer still encountered an UnauthorizedAccessException when creating a backup subdirectory and exited with code 1.

    A read-only inspection found that the main directory granted Modify permission to the current restricted sandbox identity, while the permissions on the additional directory were granted to a different identity that was absent from the current process token. A file check after the failed installation confirmed that both the payload and user data were unchanged.

    The interface says that directory settings apply to newly created local chats. It was not recorded whether the directory was added before or after the current chat was created, so it is still unclear whether this is due to an existing session’s permission snapshot or a sandbox permission configuration issue. The client build version was not collected, and no link to the model version was established.

    Please confirm the supported way for an existing chat to recognize and refresh permissions for an additional directory, and whether this case falls within the scope of the fix for #22044.

    ChatGPT Work prepared this report based on a local investigation authorized by the user. Actual paths, machine names, and identity identifiers were removed, and no original files were attached.

  4. Landau1994 commented on Nov 21, 2026

    @Landau1994

    A weird fix method is when i open codex through its location' exe file , local work mode is fixed, for me open C:\Program Files\WindowsApps\OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0\app, then things fixed ....

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

    appbugsandboxsessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions