-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Permissions reset on every Copilot CLI startup #1020
Copy link
Copy link
Open
Labels
area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictionsTool approval, security boundaries, sandbox mode, and directory restrictions
Description
Describe the bug
The permissions.allow configuration in ~/.copilot/config.json is being reset/cleared every time Copilot CLI starts.
Affected version
0.0.384 Commit: 0b21260
Steps to reproduce the behavior
- Edit
~/.copilot/config.jsonand add permissions:
{
"permissions": {
"allow": ["shell(git:*)", "shell(nx build:*)"]
}
}- Verify the file contains the permissions
- Start Copilot CLI with copilot
- Exit Copilot CLI
- Check
~/.copilot/config.json- permissions are gone
Expected behavior
The permissions.allow array should persist across Copilot CLI sessions.
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictionsTool approval, security boundaries, sandbox mode, and directory restrictions
Type
Fields
Give feedbackNo fields configured for Bug.