In ff_get_ref_perms_string() use 'u' and 'U' for representing