Skip to content

Windows Desktop: request_permissions returns file_system:null without a reason for explicitly authorized external-directory writes #58914

Open

Description

@rickglee

Summary

In a Windows Codex Desktop chat, repeated scoped filesystem permission requests for a user-authorized write to an existing directory on a secondary drive returned file_system: null, without a denial rationale or actionable error. A combined request granted network access but did not grant the filesystem write.

The user subsequently selected Full access. The same file-transfer task then succeeded and all 87 copied files passed SHA-256 verification.

This is a report of a scoped-permission/diagnostic problem, not a confirmed finding that Auto-review incorrectly denied the operation. The tool results do not establish which layer declined, filtered, or failed to apply the requested grant.

Environment

  • Codex Desktop on Windows; local, projectless chat.
  • OS reported by the execution environment: Microsoft Windows NT 10.0.26300.0.
  • Exact Desktop build and bundled runtime version were not captured. A read-only package-version query returned Access denied, so no version is inferred.
  • Observed on November 2, 2026.
  • Workspace on C:, destination an existing directory on E: outside the writable roots.
  • The actual destination contained Chinese characters. Whether non-ASCII names or a secondary drive matter has not been isolated. Paths below are sanitized examples.
  • Effective context reported workspace-write and a granular approval policy: request_permissions and mcp_elicitations could prompt; sandbox_approval, rules, and skill_approval were disabled.
  • The exact permission-picker selection before Full access was not independently captured. Please do not infer an Ask for approval UI/policy mismatch from this report.

Observed sequence

  1. The user explicitly requested saving/transferring prepared files to an existing E: directory.
  2. The agent could inspect that directory and prepare the files within its allowed C: workspace.
  3. The agent invoked the supported additional-permissions tool with a narrow directory write request. A combined request was equivalent to:
{
  "permissions": {
    "network": {"enabled": true},
    "file_system": {"write": ["E:\\PermissionGrantTest"]}
  },
  "reason": "Save the user-requested files to the specified existing directory."
}

E:\\PermissionGrantTest is a redacted example; this was an existing destination in the actual run.

  1. The returned result was:
{
  "permissions": {
    "network": {"enabled": true},
    "file_system": null
  },
  "scope": "turn",
  "strict_auto_review": true
}
  1. Filesystem-only attempts, including an attempt narrowed to 87 explicit destination filenames, also returned:
{
  "permissions": {
    "network": null,
    "file_system": null
  },
  "scope": "turn"
}

No denial rationale, policy source, timeout, or actionable error accompanied those results. A later user message again explicitly requested the transfer; its scoped request still returned no filesystem grant.

  1. The agent did not attempt to circumvent the missing grant.
  2. After the user switched to Full access, the effective execution context became unrestricted. The agent copied the 87 files to the same destination, verified their hashes, and then removed the source copies. The operation succeeded.

Expected behavior

For an eligible, explicitly authorized scoped write, provide the supported approval/grant flow. If the grant cannot be issued because of review, configuration, policy, or an unsupported capability, return a clear reason and a supported next step.

The response should let the agent distinguish a user denial, reviewer denial, managed restriction, unsupported request, and grant-application failure. A bare null currently does not provide that distinction.

Investigation limits

  • Multiple requests were observed in one chat; no fresh-session or restart reproduction is claimed.
  • strict_auto_review: true establishes that automatic review was involved in the first response; it does not by itself establish a denial or its reason.
  • Full access succeeding strongly points toward the application's scoped-permission path, but does not isolate a backend, renderer, sandbox, or reviewer defect.
  • No reviewer decision log was available in this investigation.

Possibly related, but with different symptoms: #34182 (granular policy transition), #41656 (pending permission card disappears), #58118 (a grant is returned but the write later fails). In this case the filesystem grant itself was null.

The user requested that this issue be reported to OpenAI. This public report intentionally omits local usernames, actual paths, filenames, account details, session identifiers, raw logs, and the conversation transcript.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions