pub fn ensure_directory_beneath(root: &Path, relative: &Path) -> Result<()>Expand description
Ensure a directory exists beneath a trusted root without following symlinks in any component.
Missing components are created with private Unix permissions. The root
must already exist and be an absolute path; relative must contain only
normal, relative components.