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
An additional local directory was added to a Work project on Windows, but the current session did not receive write access #62954
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems
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
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.
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 ....
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems
Activity
[-]Windows Work 项目已添加额外本地目录,但当前会话未获得对应写权限[/-][+]An additional local directory was added to a Work project on Windows, but the current session did not receive write access[/+]github-actions commentedon Nov 21, 2026
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.
Landau1994 commentedon Nov 21, 2026
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 ....