pub fn private_dir(dir: &Path) -> Result<(), String>
Creates dir for this user alone, or makes it private if this user owns it, and requires it to be a trusted_dir.
dir
trusted_dir