Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Project-level <workspace>/.cursor/permissions.json does not get loaded properly. In particular, terminalAllowlist is not merged with terminalAllowlist from user-level ~/.cursor/permissions.json, as described in the documentation: permissions.json Reference | Cursor Docs
Result:
- Commands in the project-level allowlist do not show up in the IDE settings UI (Settings > Agents > Command Allowlist).
- Cursor keeps asking for permission to run commands that are in the project-level allowlist.
Steps to Reproduce
- Have the following permission files (for example):
// <workspace>/.cursor/permissions.json
{
"terminalAllowlist": [
"echo"
]
}
// ~/.cursor/permissions.json
{
"terminalAllowlist": [
"ls"
]
}
-
Ask cursor to run a simple
echocommand. -
Cursor will ask for permission to run an
echocommand.
Expected Behavior
3: Cursor shouldn’t ask for permission, because the command is in the allowlist on the project-level permissions.json.
Additionally, the list of allowed commands in the settings should contain both echo and ls, but currently only shows ls (see screenshot).
Documentation: permissions.json Reference | Cursor Docs
Screenshots / Screen Recordings
NB: Cursor does recognize the project-level permissions file.
Operating System
Linux
Version Information
Version: 3.7.42
VS Code Extension API: 1.105.1
Commit: 5702c9cfca656d8710fad58402fe37f14345e3a0
Date: 2026-06-15T19:39:42.738Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.256
OS: Linux x64 6.8.0-124-generic
Does this stop you from using Cursor
No - Cursor works, but with this issue

