Cowork: Projects silently fail to register on Linux after folder creation
Bug Description
On Linux (Ubuntu), Cowork's project creation silently fails. The Spaces API successfully creates the project folder on disk, but the project never registers in the UI. Cowork then reports "no projects" despite the folders existing.
Environment
- OS: Ubuntu (Linux, case-sensitive filesystem)
- Claude Desktop version: 2.1.64
- Cowork mode: enabled
Steps to Reproduce
- Open Cowork mode
- Try to create a new project (e.g. "slides")
- The folder is created at
~/Documents/Claude/Projects/slides - Cowork immediately reports failure / no projects exist
- Rapid duplicate folders are created (
slides (1),slides (2), etc.) as it retries
What Happens
From ~/.config/Claude/logs/main.log:
[Spaces API] createSpaceFolder: created /home/user/Documents/Claude/Projects/slides
[Spaces API] createSpaceFolder: created /home/user/Documents/Claude/Projects/slides (1)
[Spaces API] createSpaceFolder: created /home/user/Documents/Claude/Projects/slides (2)
[Spaces API] createSpaceFolder: created /home/user/Documents/Claude/Projects/slides (3)
[Spaces API] createSpaceFolder: created /home/user/Documents/Claude/Projects/slides (4)
The folder creation succeeds (logged as [info]), but the project never appears in the UI. No error is logged — the failure is silent. The rapid-fire duplicate creation confirms the app thinks each attempt failed.
Additional Context
There was also an initial case-sensitivity mismatch: the Spaces API hardcodes ~/Documents/Claude/Projects/ (capital C) while claude_desktop_config.json had the trusted folder set to ~/Documents/claude (lowercase). On Linux these are different paths. Even after correcting this (renaming to capital Claude, updating config, symlinks, restarting), project creation still silently fails.
The trust check passes (isFolderTrusted: /home/user/Documents/Claude -> true) but the project still doesn't register. The bug appears to be in the step after folder creation — the project metadata/registration step fails silently in the renderer/client layer with no logged error.
Expected Behavior
Projects should be created and visible in the Cowork UI after folder creation succeeds.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗