pub fn create_private_dir(dir: &Path) -> Result<()>Expand description
Create dir and any parents it lacks 0700, and take group and other’s
access away from a dir that was already there.
§Errors
Whatever creating the directory returns. A tightening that fails is logged (see the module docs).