permissions.skipDangerousModePermissionPrompt ignored in user settings (v2.1.109)

Resolved 💬 3 comments Opened Apr 15, 2026 by max-miller1204 Closed May 24, 2026

Summary

permissions.skipDangerousModePermissionPrompt: true set in user-scope settings (~/.claude/settings.json) does not suppress the "Bypass Permissions mode" acceptance prompt when launching with --dangerously-skip-permissions. Per the settings docs, this key is only supposed to be ignored in project settings, not user settings.

Version

claude --version2.1.109

Environment

  • NixOS, fish shell
  • ~/.claude/settings.json is a symlink into /nix/store/...home-manager-files/.claude/settings.json (deployed via home-manager)
  • No project-scope .claude/settings.json exists in the working directory
  • No managed settings file

settings.json (relevant excerpt)

{
  "permissions": {
    "skipDangerousModePermissionPrompt": true
  }
}

Repro

  1. Set the key above in ~/.claude/settings.json
  2. Run claude --dangerously-skip-permissions
  3. Observe: the "Yes, I accept" confirmation prompt still appears.

Expected

The prompt is skipped, since the key is set in user scope (not project scope).

Notes

  • claude --debug --dangerously-skip-permissions 2>debug.log produces an empty debug.log — no settings-load diagnostics visible.
  • Suspected cause: the "ignored when in project settings" check may be path-matching .claude/settings.json too broadly and catching the user-scope file, possibly interacting with the symlink resolving into /nix/store/....

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗