Skip to content

Approved permissions, but write_stdin is blocked by sandbox_approval=false #53610

Closed

Description

@VladimerST

What version of the Codex App are you using (From “About Codex” dialog)?

26.1007.21434 (build 13901)

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

“Ask for approval” is selected in the chat’s permissions menu.

The assistant is trying to retrieve an existing website’s source code to create a backup before making changes.

I received and approved a request for network access and write access to the project’s .git directory. The request_permissions tool confirmed that both permissions were granted.

However, sending the required input to the running process through write_stdin failed with this exact error:

write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false

No additional approval prompt appeared. Restarting the app and retrying did not resolve the problem.

Expected behavior:
The operation should proceed within the granted permissions, or an additional approval prompt should appear if required.

Actual behavior:
The operation is automatically rejected, and I have no opportunity to approve the blocked step.

Please investigate whether the effective session approval policy matches the “Ask for approval” setting and explain how to resolve this while retaining approval prompts.

What steps can reproduce the bug?

Feedback ID: 01a1343f-df91-7673-a7bb-cbeb38dcf2f2

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Oct 13, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Oct 13, 2026
  3. VladimerST commented on Oct 13, 2026

    @VladimerST
    Author

    The issue has been resolved. After switching to the web browser, I was able to regain access, and everything is working properly now.

    Thank you for your assistance. You can close this support ticket.

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

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions