Skip to main content

Module removable_volume

Module removable_volume 

Source
Expand description

Shared, logic-free constants for the macOS removable-volume (external disk) Full-Disk-Access failure mode (issue #1).

This module deliberately holds only the canonical guidance string — no logic — so it can live in mur-common and be shared verbatim by both the agent runtime’s file/bash tools and mur agent doctor. The judgement helpers (e.g. is_removable_volume_eperm) stay in the runtime’s fs_policy; only the wording is centralized here so it never drifts.

Constants§

REMOVABLE_VOLUME_EPERM_HINT
The one canonical, structured guidance shown whenever a /Volumes/* (removable / external volume) path is blocked by macOS with EPERM (os error 1, “Operation not permitted”). Shared by the file/bash tools and mur agent doctor so the wording never drifts (issue #1). Kept as a single const — do NOT duplicate this string anywhere.