Cowork: virtiofs mount fails when 'Documents' exists as file in virtual root

Resolved 💬 5 comments Opened Apr 2, 2026 by dentsucreativecl Closed Jun 2, 2026

Bug Report

Product: Claude Cowork (Mac Desktop App)

Error:

RPC error: failed to mount /mnt/.virtiofs-root/shared/Documents/Claude/Projects/Prompts Respository as Prompts Respository: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Documents/Claude/Projects/Prompts Respository: mkdir /mnt/.virtiofs-root/shared/Documents: file exists

Description:
When creating a project in Claude Cowork and attempting to run a task, the virtiofs mount fails. The error indicates that /mnt/.virtiofs-root/shared/Documents already exists as a file rather than a directory, preventing the creation of the nested mount path.

Steps to Reproduce:

  1. Create a new project in Claude Cowork
  2. Set the project folder to a path under ~/Documents/Claude/Projects/ (e.g., Prompts Repository)
  3. Attempt to run a task in the project

Expected Behavior:
The project folder should mount successfully via virtiofs.

Actual Behavior:
Mount fails with the error above. The underlying issue appears to be that Documents exists as a file (not a directory) in the virtiofs virtual root, blocking mkdir -p from creating the full path.

Environment:

  • macOS (Darwin 25.3.0)
  • Claude Desktop App (latest)

Workaround:
Renaming the folder to remove spaces partially addresses the issue, but the root cause is the virtiofs mount layer conflict.

View original on GitHub ↗

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