Skip to content

[BUG] Cowork: Google Drive for Desktop mirrored/streaming folder fails to mount with "file exists" error #24134

Description

@rohtakdev

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?

Bug Description

When selecting a Google Drive for Desktop folder (mirrored mode) in Cowork, the VM fails to mount it with a contradictory error — mkdir fails because "file exists" but the path also "does not exist."

Error

RPC error: failed to mount Library/CloudStorage/GoogleDrive-[livornatreasurer@gmail.com](mailto:livornatreasurer@gmail.com)/My Drive as My Drive: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Library/CloudStorage/GoogleDrive-[livornatreasurer@gmail.com](mailto:livornatreasurer@gmail.com)/My Drive: mkdir /mnt/.virtiofs-root/shared/Library/CloudStorage/GoogleDrive-[livornatreasurer@gmail.com](mailto:livornatreasurer@gmail.com)/My Drive: file exists

What Should Happen?

When a Google Drive for Desktop folder is set to "Mirror" mode (files stored locally on disk), Cowork should be able to mount the ~/Library/CloudStorage/GoogleDrive-*/My Drive path successfully via virtiofs, since the files physically exist on the local filesystem. Additionally, users should be able to re-select or change their working folder mid-session without needing to start a new task.

Error Messages/Logs

RPC error: failed to mount Library/CloudStorage/GoogleDrive-[livornatreasurer@gmail.com](mailto:livornatreasurer@gmail.com)/My Drive as My Drive: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Library/CloudStorage/GoogleDrive-[livornatreasurer@gmail.com](mailto:livornatreasurer@gmail.com)/My Drive: mkdir /mnt/.virtiofs-root/shared/Library/CloudStorage/GoogleDrive-[livornatreasurer@gmail.com](mailto:livornatreasurer@gmail.com)/My Drive: file exists

Steps to Reproduce

Steps to Reproduce

  1. Use Google Drive for Desktop on macOS (mirror mode)
  2. Open Cowork and select the Google Drive folder
  3. Mount fails with above error

Expected Behavior

Mirrored Google Drive folders should mount successfully since files exist on local disk.

Impact

Disrupts workflow — cannot access Google Drive files in Cowork session mid-task. No way to re-select folder during an active session either.

Environment

  • macOS, Cowork mode
  • Google Drive for Desktop (mirror mode enabled)

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.33 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coworkbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions