claude-code - 💡(How to fix) Fix Cowork: artifacts folder hardcoded to Documents path, ignores selected project folder [1 comments, 2 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#54138Fetched 2026-04-28 06:38:14
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

RPC error: failed to mount /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents/Claude/Artifacts/cpe-amplitude-issues-tracker as .artifacts/cpe-amplitude-issues-tracker: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents/Claude/Artifacts/cpe-amplitude-issues-tracker: mkdir /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents: file exists

Fix Action

Fix / Workaround

Attempted workarounds:

  • Created folder manually via mkdir - did not resolve
  • Copied files from Documents to Desktop - did not resolve
  • Updated claude_desktop_config.json to use Desktop paths - did not resolve
  • Created new project via "Use an existing folder" pointing to Desktop - did not resolve

Code Example

RPC error: failed to mount /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents/Claude/Artifacts/cpe-amplitude-issues-tracker as .artifacts/cpe-amplitude-issues-tracker: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents/Claude/Artifacts/cpe-amplitude-issues-tracker: mkdir /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents: file exists
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?

Cowork always tries to mount the artifacts folder from ~/Documents/Claude/Artifacts/ regardless of which folder is selected for the project. The Documents folder is synced via OneDrive which is incompatible with virtiofs mounting. Even after updating claude_desktop_config.json to use Desktop paths and selecting a Desktop folder via "Use an existing folder", the error still references the Documents path.

What Should Happen?

Cowork should mount the artifacts folder from the project folder location that was selected by the user, not a hardcoded Documents path.

Error Messages/Logs

RPC error: failed to mount /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents/Claude/Artifacts/cpe-amplitude-issues-tracker as .artifacts/cpe-amplitude-issues-tracker: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents/Claude/Artifacts/cpe-amplitude-issues-tracker: mkdir /mnt/.virtiofs-root/shared/Users/john.wilkes/Documents: file exists

Steps to Reproduce

  1. Have Documents folder synced via OneDrive on macOS
  2. Open Cowork and create a new project using "Use an existing folder"
  3. Select a folder on the Desktop (not in Documents)
  4. Run any task
  5. Mount error appears referencing the Documents path, not the selected Desktop path

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.4758.0 (fb266c)

Claude Code Version

2.1.119 (Claude Desktop App)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Related issues: #42795, #24134

Attempted workarounds:

  • Created folder manually via mkdir - did not resolve
  • Copied files from Documents to Desktop - did not resolve
  • Updated claude_desktop_config.json to use Desktop paths - did not resolve
  • Created new project via "Use an existing folder" pointing to Desktop - did not resolve

The artifacts mount path appears to be hardcoded to Documents regardless of user configuration.

extent analysis

TL;DR

The issue can be resolved by ensuring that the claude_desktop_config.json file is correctly configured to use the Desktop path for the project, and verifying that the selected project folder does not have any hardcoded references to the Documents path.

Guidance

  • Verify that the claude_desktop_config.json file has been updated correctly to use the Desktop path for the project, and that the changes have been saved.
  • Check the project settings to ensure that the selected folder is indeed on the Desktop and not in the Documents folder.
  • Investigate if there are any other configuration files or settings that may be overriding the claude_desktop_config.json settings.
  • Consider resetting the Cowork configuration to its default state to see if the issue persists.

Example

No code snippet is provided as the issue seems to be related to configuration and not code.

Notes

The issue seems to be a regression, and the last working version was 1.4758.0 (fb266c). The current version is 2.1.119 (Claude Desktop App). The user has already attempted several workarounds, but the issue persists.

Recommendation

Apply workaround: Update the claude_desktop_config.json file to use the Desktop path for the project, and verify that the selected project folder does not have any hardcoded references to the Documents path. This is recommended because the issue seems to be related to configuration, and updating the configuration file may resolve the issue.

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

claude-code - 💡(How to fix) Fix Cowork: artifacts folder hardcoded to Documents path, ignores selected project folder [1 comments, 2 participants]