pub fn rights_to_posix_mode_bits( readable: bool, writable: bool, executable: bool, ) -> u32
Returns equivalent POSIX mode/permission bits based on the specified rights. Note that these only set the user bits.