EXDEV: cross-device link not permitted

A rename crossed a filesystem boundary, which the OS will not do atomically.

91 issues · 11 open · 80 resolved (88%) · first seen Dec 20, 2025

First response · local

What to do now

Most likely: The operating system rejected a file or directory operation.

  1. Read the first path in the error and verify that it exists and belongs to the expected user.
  2. Check disk space, permissions, symlinks and whether another process holds the target.
  3. Reproduce with the smallest affected path before changing project-wide permissions.

These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.

Is this getting better or worse?

This class of problem is converging. 14 new reports in the last 90 days vs 54 in the 90 before — -74%. The open backlog peaked at 18 in 2026-04 and sits at 11 today.

0 5 9 14 18 2025-122026-032026-062026-08
2025-12 — First reports2026-03 — Most new reports (27)2026-04 — Peak backlog (18 open)

Derived by counting each matching issue from its creation date until it closed. First-party computation over the anthropics/claude-code tracker — the trend is not published anywhere upstream.

Which builds report this

27 of these reports name the Claude Code build they were running, spanning 21 releases. Heaviest reporters:

Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.

Do these get fixed?

Median time to close is 4 days across 80 closures. Of the 80 closures with a recorded reason, 19% were closed as completed and 65 as not-planned or duplicate. The most recent completed fix landed in 2026-08.

Workarounds reported by the community

52 of these issues post a workaround someone says worked. The highest-engagement ones:

[BUG] Plugin install fails with EXDEV when /tmp is tmpfs
…by default - Many users have /home on a separate partition Workaround Set TMPDIR to a location on the same filesystem as ~/.claude: Or permanently in shell profile: Suggested Fix Catch EXDEV error and fall back to copy+…
Found in the description of #14799 · resolved
[BUG] [Desktop App] Cowork VM completely broken on Windows 11 Insider (MSIX) - Unresolved EXDEV rename bug in v1.1.4010
…loop with "Funzione non corretta" (ERROR INVALID FUNCTION): Workarounds attempted (all failed) Workaround Result --- --- Clean reinstall with admin rights Same EXDEV error NTFS junction from bundle dir → MSIX sandbox ret…
Found in the thread of #27897 · resolved
[BUG] Background tasks ignore $TMPDIR and hardcode /tmp/claude/
To work around this problem, I did this: This is the version with the bug. First thing, disable auto update by adding this to : If you are still on version 2.0.76 you're good. If you are on 2.1.1 then you also have to do…
Found in the thread of #15700 · resolved
Plugin install fails with EXDEV when ~/.claude and /tmp are on different filesystems
…use a temp directory on the same filesystem as the target. Workaround Users can work around this by cloning the repo locally and installing from the local path: Then in Claude Code:
Found in the description of #18115 · still open
[BUG] Cowork EXDEV rename fails on dual-drive Windows 11 MSIX install — symlinks, junctions, and VHD workarounds all fail
…to fail even though both paths resolve to C:\ on the host. Workarounds attempted (all failed): Deleted vm bundles from both C: and D: Packages paths Added Windows Defender exclusion for AppData\Roaming\Claude Symlink: A…
Found in the description of #42119 · resolved

Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.

Matching issues 1–91

Ranked by community engagement (reactions weighted over comments).

Related aggregations

  1. ENOENT: no such file or directory

    1,200 issues
  2. EISDIR: illegal operation on a directory

    495 issues
  3. EACCES / EPERM: permission denied

    415 issues
  4. ENOTEMPTY: directory not empty

    88 issues
  5. EEXIST: file already exists

    138 issues
  6. EBUSY: resource busy or locked

    127 issues