You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pasted/AirDropped file attachments land in unreadable sandbox path on macOS #65181
When a file is shared into the prompt via the macOS shared-pasteboard route (paste from AirDrop, drag-in from another app), the harness substitutes a path under ~/Library/Group Containers/group.com.apple.coreservices.useractivityd/shared-pasteboard/items/<uuid>/<name>. That path is not readable from Claude Code's sandbox — both Read and Bashcp/cat fail with EPERM: operation not permitted.
Repro
AirDrop a file from another device to the Mac (or copy a file in Finder so it lands in the shared pasteboard).
Paste / drop it into the Claude Code prompt — the input renders as a path like:
Read → EPERM: operation not permitted, open '…/A-2.gpx'
cp → cp: …/A-2.gpx: Operation not permitted
Expected
Either:
Copy attachments into a sandbox-readable location (e.g. session tmp dir) before substituting the path into the prompt, or
Extend read permission to the exact attachment path for the duration of the turn.
Impact
Any file shared via the macOS shared-pasteboard / AirDrop pipeline is silently unreadable. The user has to cp the file out manually before Claude can see it, which defeats the point of pasting an attachment.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Jul 8, 2026
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
github-actions commentedon Sep 8, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.