Skip to content

exec_command rejected by policy with Full access enabled and no approval or resume option #58900

Open

Description

@tsccmyassser-ai

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

ChatGPT desktop for Windows: 1.2026.190 (reported by the app user-agent). Bundled Codex / About Codex build number: not confirmed.

What subscription do you have?

Plus

What platform is your computer?

Windows x64

What issue are you seeing?

In the Windows desktop app, an exec_command call made through functions.exec failed with the following available error:

exec_command failed: CreateProcess { message: "Rejected("… rejected by policy")" }

The permissions menu shows Full access enabled.

After this rejection, the agent stated that the session was restricted to local read-only file checks and DNS checks. It declined to prepare deployment files or execute server commands.

No detailed policy reason, approval prompt, or official resume option was available. It is unclear whether this is expected policy enforcement or an application issue.

What steps can reproduce the bug?

Observed sequence:

  1. Used the Windows desktop app with Full access selected.
  2. Asked the agent to prepare and deploy a separate Odoo 19 instance alongside an existing Odoo 18 installation.
  3. An exec_command call failed with CreateProcess / rejected by policy.
  4. The agent subsequently reported that it could continue only with read-only checks.
  5. Asked whether an official approval or resume option was available; the agent reported that none was available.

The rejected command was not retried. A fresh reproduction has not been attempted.

Feedback ID: 01a18722-f3e2-70a3-bee3-e1d36547e209

What is the expected behavior?

If the action is blocked by policy, the interface should provide a clear explanation of the restriction and any supported review or recovery path.

The agent should clearly distinguish a rejected command from a verified read-only filesystem restriction, and explain which parts of the task remain permitted.

Additional information

Feedback was submitted successfully.

Feedback ID: 01a18722-f3e2-70a3-bee3-e1d36547e209

The exact rejected command and a more detailed policy reason are not available in the retained conversation.

No deployment files were created and no server configuration changes were made. SSH and the rejected command were not retried.

A screenshot showing Full access enabled is available.

Activity

  1. added
    app
    on Nov 2, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Nov 2, 2026
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