gy-manual-1

Open 💬 1 comment Opened Jul 15, 2026 by kidongnam1

What version of Codex CLI is running?

codex-cli 0.144.4

What subscription do you have?

ChatGPT pro

Which model were you using?

_No response_

What platform is your computer?

_No response_

What terminal emulator and version are you using (if applicable)?

_No response_

Codex doctor report

What issue are you seeing?

I am using Codex CLI on Windows.

Codex CLI version:
codex-cli 0.144.4

Issue:
When working in the local project folder, file editing sometimes fails even though the file is inside the workspace and is not read-
only.

Environment:

  • OS: Windows
  • Shell: PowerShell
  • Workspace: D:\program\gy_manual
  • File attempted: D:\program\gy_manual\source file\document_reader.py

What happened:

  1. I tried to update source file\document_reader.py.
  2. apply_patch failed with a Windows sandbox helper error.
  3. A direct Python write also failed with PermissionError.
  4. The file attributes showed only Archive, not read-only.

Error messages:

```text
apply_patch verification failed: Failed to read file to update D:\program\gy_manual\source file\document_reader.py: fs sandbox helper
failed with status exit code: 1: windows sandbox failed: helper_unknown_error: setup refresh had errors

PermissionError: [Errno 13] Permission denied: 'D:\\program\\gy_manual\\source file\\document_reader.py'

File attribute check:

FullName : D:\program\gy_manual\source file\document_reader.py
Attributes : Archive
Length : 16991

Expected behavior:
Codex should be able to edit files inside the declared writable workspace, or provide a clearer actionable error if the Windows sandbox
blocks the write.

Additional context:
The path contains a folder name with a space: source file.

What steps can reproduce the bug?

Uploaded thread: 019f3f21-a9b6-7aa3-9ef6-158e9927a72b

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗