pub fn ensure_writable(path: &Path) -> Result<()>
Recursively add write permission (used before moving a restored entry into place; the executable bit is preserved so the content hash still verifies).