fuse3
pub fn mode_from_kind_and_perm(kind: FileType, perm: u16) -> u32
returns the mode for a given file kind and permission