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:42:50 +0100
commit613cc77a173fd10ce9fab15543667382f079f6f5 (patch)
tree8feae6e70296df91a91320e3067e6bf27ac841a7
parentBUG/MEDIUM: make RGroups working in mode stat, not only config mode (diff)
downloadmod_ruid2-613cc77a173fd10ce9fab15543667382f079f6f5.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 b510f73..1e151aa 100644
--- a/mod_ruid2.c
+++ b/mod_ruid2.c
@@ -502,11 +502,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;