- /*
- * a bit (a BIT?) ugly, perhaps (PERHAPS?)
- * note: no typo, it's supposed to be a single `=' sign
- */
- if ((strcmp(this_entry, entry) == 0 && (rights_assigned = 1)) ||
- (strcmp(this_entry, ".default") == 0 &&
- strcmp(this_entry, ".rights") != 0 &&
- rights_assigned == 0)) {
+ if (strcmp(this_entry, entry) == 0) rights_assigned = 1;
+ if (strcmp(this_entry, ".default") == 0) rights_assigned = 2;
+
+ if (rights_assigned != 0) {