pub fn create_dir_mode(path: &UnixStr, mode: Mode) -> Result<()>
Create a directory with the given mode
OS errors relating to file access/permissions