--- dquot.c.orig Wed Feb 14 04:08:26 2001
+++ dquot.c Wed Feb 14 04:09:00 2001
@@ -1536,7 +1536,7 @@
break;
case Q_GETQUOTA:
if (((type == USRQUOTA && current->euid != id) ||
- (type == GRPQUOTA && in_egroup_p(id))) &&
+ (type == GRPQUOTA && !in_egroup_p(id))) &&
!capable(CAP_SYS_RESOURCE))
goto out;
break;