Skip to main content

default_runtime_dir

Function default_runtime_dir 

Source
pub fn default_runtime_dir() -> PathBuf
Expand description

Owner-only runtime directory for the IPC socket (WBS-507).

$XDG_RUNTIME_DIR/SentinelPass when the runtime dir is available, else <config dir>/runtime (owner-only). The /tmp fallback is REMOVED per ADR-007: a world-traversable socket directory is exactly what the owner-only-directory requirement exists to prevent.