aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2013-11-27 22:36:21 +0100
committerBertrand Jacquin <beber@meleeweb.net>2013-11-27 22:40:54 +0100
commitb32823c5844215886dc8f8f75d6d075fa3779c2c (patch)
tree16f328d3f52855fa3b297203f0d799c7e2295d76
parentBUG/MEDIUM: make RGroups working in mode stat, not only config mode (diff)
downloadmod_ruid2-b32823c5844215886dc8f8f75d6d075fa3779c2c.tar.gz
BUG/MINOR: Add all RGroups, even when when group is not matching MIN_GID
-rw-r--r--mod_ruid2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mod_ruid2.c b/mod_ruid2.c
index b374f3a..6767f55 100644
--- a/mod_ruid2.c
+++ b/mod_ruid2.c
@@ -522,11 +522,7 @@ static int ruid_set_perm (request_rec *r, const char *from_func)
groupsnr = startup_groupsnr;
} else if (dconf->groupsnr > 0) {
for (groupsnr = 0; groupsnr < dconf->groupsnr; groupsnr++) {
- if (dconf->groups[groupsnr] >= conf->min_gid) {
- groups[groupsnr] = dconf->groups[groupsnr];
- } else {
- groups[groupsnr] = conf->default_gid;
- }
+ groups[groupsnr] = dconf->groups[groupsnr];
}
} else {
groupsnr = 0;