[Bug] Repeated permission prompts for directory despite session-level approval

Resolved 💬 2 comments Opened Jan 19, 2026 by mcse3010 Closed Jan 21, 2026

Bug Description
When having claude edit user-based claude files (agents, for example) it asks if it can update each file individually, even if I choose "Yes, allow editing in agents/ during this session"... it should only ask once during the session or not give me the option to allow editing in that directory if it's going to repeatedly prompt me anyway.

It said "Now I'll make all 7 edits in parallel." - perhaps it is asking them sequentially but because they are in "parallel" subsequent file edits don't have the chance to use the newly granted permission...

Commands it prompted me for (examples):
Update(C:\Users\mcsei\.claude\agents\log4net-instrumenter.md)
Update(C:\Users\mcsei\.claude\agents\webapi-controller-generator.md)
etc,.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.12
  • Feedback ID: 0a6327b1-f949-479c-99c5-946fd03c3690

Errors

[{"error":"Error: EPERM: operation not permitted, symlink 'C:\\Users\\mcsei\\.claude\\projects\\D--jposervices-com\\5928e48c-304d-4338-8ccd-31f771f2ee24\\subagents\\agent-add896f.jsonl' -> 'C:\\Users\\mcsei\\AppData\\Local\\Temp\\claude\\D--jposervices-com\\tasks\\add896f.output'\n    at symlinkSync (node:fs:1819:11)\n    at BDA (file:///C:/Users/mcsei/AppData/Local/nvm/v20.19.5/node_modules/@anthropic-ai/claude-code/cli.js:1552:10045)\n    at yI2 (file:///C:/Users/mcsei/AppData/Local/nvm/v20.19.5/node_modules/@anthropic-ai/claude-code/cli.js:2280:1176)\n    at file:///C:/Users/mcsei/AppData/Local/nvm/v20.19.5/node_modules/@anthropic-ai/claude-code/cli.js:2717:806\n    at AsyncLocalStorage.run (node:async_hooks:346:14)\n    at g11 (file:///C:/Users/mcsei/AppData/Local/nvm/v20.19.5/node_modules/@anthropic-ai/claude-code/cli.js:385:32410)\n    at Object.call (file:///C:/Users/mcsei/AppData/Local/nvm/v20.19.5/node_modules/@anthropic-ai/claude-code/cli.js:2717:513)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async It5 (file:///C:/Users/mcsei/AppData/Local/nvm/v20.19.5/node_modules/@anthropic-ai/claude-code/cli.js:2700:19680)","timestamp":"2026-01-19T21:48:58.148Z"}]

View original on GitHub ↗

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