# This patch file, files created by its use and not subject to other copyright # and any changes in other files generated by its use are # Copyright (C) 2000-2003 by the Free Software Foundation, Inc. # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA # This patch file is Free Software and permission is granted to copy and # redistribute it in original or modified form under the terms of the # GNU General Public License (GPL). # See the GPL COPYING files accompanying Mailman distributions this # patch was intended to work in conjunction with for further details. diff -r -u -P --exclude=.DS_Store mailman-2.1.3/bin/mailmanctl mailman-2.1.3-grpsec/bin/mailmanctl --- mailman-2.1.3/bin/mailmanctl Mon Sep 22 03:29:50 2003 +++ mailman-2.1.3-grpsec/bin/mailmanctl Mon Sep 29 08:04:52 2003 @@ -288,6 +288,8 @@ uid = pwd.getpwnam(mm_cfg.MAILMAN_USER)[2] myuid = os.getuid() if myuid == 0: + groups = [gid] + [x[2] for x in grp.getgrall() if mm_cfg.MAILMAN_USER in x[3]] + os.setgroups(groups) os.setgid(gid) os.setuid(uid) elif myuid <> uid: