claude-code - 💡(How to fix) Fix allow_cowork_file_delete tool returns "Permission denied" without showing permission dialog [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46788Fetched 2026-04-12 13:33:00
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

Impact: Files cannot be deleted via Claude in Cowork. Workaround is manual deletion in Finder.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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:

  1. Open Claude Desktop app in Cowork mode
  2. Mount a workspace folder (in this case: pCloud Drive)
  3. Ask Claude to delete a file or folder inside the mounted folder
  4. Claude calls the allow_cowork_file_delete tool with the file path
  5. 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

extent analysis

TL;DR

The issue can likely be resolved by investigating the permission settings for the allow_cowork_file_delete tool and ensuring it is properly configured to prompt the user for permission before deleting files or folders.

Guidance

  • Review the configuration of the allow_cowork_file_delete tool to ensure it is set up to display a permission dialog to the user before deleting files or folders.
  • Check the macOS permission settings for the Claude Desktop app to ensure it has the necessary permissions to access and delete files in the mounted workspace folder.
  • Verify that the allow_cowork_file_delete tool is being called correctly by Claude and that the file path is being passed correctly.
  • Consider testing the allow_cowork_file_delete tool with a different workspace folder or file system to see if the issue is specific to the pCloud Drive setup.

Example

No specific code snippet can be provided without more information about the implementation of the allow_cowork_file_delete tool.

Notes

The issue may be related to a regression in the Claude Code version, as it worked in a previous version. However, without more information about the changes made in the latest version, it is difficult to provide a more specific solution.

Recommendation

Apply workaround: The user can manually delete files in Finder as a temporary workaround until the issue is resolved. This is not a permanent solution, but it allows the user to continue working while the issue is being investigated.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING