allow_cowork_file_delete tool returns "Permission denied" without showing permission dialog
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Title: allow_cowork_file_delete tool returns "Permission denied" without showing permission dialog
Description:
When Zowie (Claude in Cowork mode) calls the allow_cowork_file_delete tool to request permission to delete a file or folder, the tool silently returns "Permission denied" without ever showing a permission popup/dialog to the user.
Expected behavior: A permission dialog appears asking the user to Allow or Deny the delete operation.
Actual behavior: The tool returns Permission to use mcp__cowork__allow_cowork_file_delete has been denied immediately, with no dialog shown to the user.
Steps to reproduce:
Open Cowork (Claude Desktop app)
Ask Claude to delete a file or folder in the mounted workspace folder
Claude calls allow_cowork_file_delete with the file path
No dialog appears — tool returns denied silently
Environment:
App: Claude Desktop (Cowork mode)
OS: macOS
Workspace folder: pCloud Drive (mounted)
Impact: Files cannot be deleted via Claude in Cowork. Workaround is manual deletion in Finder.
What Should Happen?
When Claude calls allow_cowork_file_delete, a permission dialog should appear in the Claude Desktop app asking the user to confirm or deny the deletion. The user should be able to click "Allow" to proceed or "Deny" to cancel. Only after the user clicks "Allow" should the file or folder be deleted.
Error Messages/Logs
Steps to Reproduce
Voor het "Steps to Reproduce" veld:
- Open Claude Desktop app in Cowork mode
- Mount a workspace folder (in this case: pCloud Drive)
- Ask Claude to delete a file or folder inside the mounted folder
- Claude calls the allow_cowork_file_delete tool with the file path
- No permission dialog appears — tool immediately returns "Permission denied"
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude 1.1617.0 (8d6345) 2026-04-09T16:10:15.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
7 Comments
I am experiencing the same regression bug and it is very disruptive, I tried many changes to the application permissions at the macos level along with cache resets and it still persist making the agent prone to error. Fixing this would be amazing
Looks like this happens only for folders that need admin perms. This also happens on Windows 11.
I think it happens for more than admin folders, it seems to be all folders.
I've fighting this for few days here are all the steps I took:
Issue Reproduction & Troubleshooting Summary:
I am experiencing the same silent "Permission denied" failure with the allow_cowork_file_delete tool. To isolate whether this was a macOS system issue or an internal application bug, I ran through a comprehensive permission reset protocol.
Here are the steps taken that did not resolve the issue, confirming this is an internal bug in Claude Desktop rather than an OS-level restriction:
macOS TCC Reset: Used tccutil reset All com.anthropic.claudefordesktop to clear macOS Transparency, Consent, and Control caches.
Clean Reinstall & Cache Wipe: Performed a complete removal of the app, including wiping the Application Support and hidden ~/.claude directories before reinstalling.
Directory Ownership Reset: Ran recursive chown and chmod on the project directories to ensure the application wasn't hitting an admin/root escalation wall.
Fresh Directory Testing: I created a brand new test folder inside my standard Documents directory. While this action successfully triggered the initial macOS system-level folder access prompt (which I granted), Claude's internal allow_cowork_file_delete tool still failed instantly with "Permission denied" without ever showing its own internal execution dialog.
Result: The failure persists even immediately after macOS folder permissions are freshly and successfully granted. The desktop UI is entirely swallowing the internal tool's permission dialog, confirming the block is strictly internal to the current build of the application.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
I am having this issue with both dispatch and cowork desktop.
I tried this:
i just tried this:
Me: craete a test file and delete it
Claude:
Ran a command
Ran a command
Confirmed — I can create files in your folder but deletion is blocked by the sandbox, regardless of who created the file. You'll need to delete lu381uvr5.tmp manually from File Explorer.
I never get a prompt or anything, I have had to manually deleete things or dig through directories to find ranaom temp/ lock files.
Same symptom reproduced on Windows 11 Pro 25H2 (Claude Desktop 1.18286.0, MSIX install, local NTFS drive) — the deletion permission dialog never appears and
allow_cowork_file_deleteis denied silently, in both "Ask before acting" and "Act without asking" modes.Filed as a separate issue for Windows platform tracking with full repro steps and environment details:
https://github.com/anthropics/claude-code/issues/74324
Since this issue is marked
stalebut the bug still reproduces on another platform, it may warrant re-triage — the failure is likely platform-independent (dialog rendering / permission IPC layer rather than OS-specific).Similar symptom here, but scoped to a specific folder (real path) and fully persistent.
Summary
All
mcp__workspace__*tools (bash, web_fetch) return "Permission to use mcp__workspace__bash has been denied." in every session that selects one particular folder. No permission dialog is ever shown.Environment
Reproduction / What I ruled out
.claude/settings.jsonhas no deny rules for these toolsPossible trigger
Both occurrences started immediately after running a log-compression workflow that issues a large number of consecutive bash calls. It looks as if a deny was silently recorded (dialog suppressed) and then persisted at app/account level, bound to the folder's real path.
Impact
No workaround found — the folder is unusable for any shell-dependent work in Cowork. We currently route all repo writes through Claude Code (CLI), which is unaffected.
Happy to provide screenshots or logs if useful.