Codex CLI and IDE Prompting for Approval to Edit Files

So I have to preface this with saying I’m running natively on Windows and not in my WSL2 layer.

Latest CLI and IDE

Both when set to full access mode seem to do everything except edit files and I constantly get “Waiting for approval to edit files” in the IDE and something similar for approval in the CLI - the CLI seems to ask for more approval even with the bypasses set.

Is this a known issue with running natively on Windows or is it a bug in the IDE/CLI at the moment?

3 Likes

I got the exact same problem. Works ok inside Linux VM, constantly asks for permissions on pure Windows.

1 Like

This looks less like a Windows-specific problem and more like a bug in the latest IDE/CLI builds. Even in full access mode, approvals sometimes don’t register because of config mismatches or a known issue in recent updates.

:white_check_mark: Try updating both the IDE and CLI, reset your config, and re-enable full access. If it still happens, it’s likely the bug others have reported—worth keeping an eye on the project’s issue tracker for a fix.

I have tried to:

  1. Update Visual Studio Code V1.104
  2. Update Codex V0.4.10 (also tried
    0.5.11 = same issues)
  3. Reset Settings
  4. Set Powershell to full permission (bypass)

No success. Also all the workarounds ChatGpt 5.0 requested to try, without solution.

Config.toml

# Global defaults
approval_policy = "never"              # untrusted | on-request | on-failure | never
sandbox_mode    = "danger-full-access" # read-only | workspace-write | danger-full-access
model           = "gpt-5-codex"

# Standardprofil setzen (Name frei waehlbar)
default_profile = "full"

[profiles.full]
approval_policy = "never"
sandbox_mode    = "danger-full-access"
model           = "gpt-5-codex"

# Workspace vertrauen (rekursiv)
[projects.'D:\Development']
trust_level = "trusted"

Visual Studio Code:

Version: 1.104.0 (user setup)
Commit: f220831ea2d946c0dcb0f3eaa480eb435a2c1260
Date: 2025-09-10T06:46:18.035Z
Electron: 37.3.1
ElectronBuildId: 12342881
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.19045