X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/b668c215565aa08fe21c3d637c9868b1b8a649ce..35edf2ff67ad9fa5fc0e83bde865d807c297864f:/src/src/readconf.c diff --git a/src/src/readconf.c b/src/src/readconf.c index 95470763d..caa78ee90 100644 --- a/src/src/readconf.c +++ b/src/src/readconf.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/readconf.c,v 1.1 2004/10/07 10:39:01 ph10 Exp $ */ +/* $Cambridge: exim/src/src/readconf.c,v 1.2 2004/10/18 09:16:57 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -2595,8 +2595,11 @@ if (!config_changed) && statbuf.st_uid != config_uid /* owner not the special one */ #endif ) || /* or */ - (statbuf.st_gid != exim_gid && /* group not exim & */ - (statbuf.st_mode & 020) != 0) || /* group writeable */ + (statbuf.st_gid != exim_gid /* group not exim & */ + #ifdef CONFIGURE_GROUP + && statbuf.st_gid != config_gid /* group not the special one */ + #endif + && (statbuf.st_mode & 020) != 0) || /* group writeable */ /* or */ ((statbuf.st_mode & 2) != 0)) /* world writeable */