Files
claude-desktop-debian/tests
Charles Bonnissent e82975c789 feat: configurable bwrap mount points via claude_desktop_linux_config.json (#339)
Allow users to add/remove BubbleWrap sandbox mount points through a
dedicated Linux config file (~/.config/Claude/claude_desktop_linux_config.json),
separate from the official Claude Desktop config.

- Add validateMountPath(), loadBwrapMountsConfig(), mergeBwrapArgs()
  to cowork-vm-service.js
- Integrate config loading in BwrapBackend constructor
- Add _doctor_check_bwrap_mounts() to --doctor diagnostics
- Document coworkBwrapMounts in CONFIGURATION.md
- 33 new tests in cowork-bwrap-config.bats

Security: forbidden paths (/,/proc,/dev,/sys) always rejected,
RW mounts restricted to $HOME, critical mounts non-disableable.
Daemon restart required for config changes.

Fixes #339

Co-Authored-By: Claude <claude@anthropic.com>
2026-03-29 18:37:12 +02:00
..