From 084a118fba6a07ead57e082801c66a6bb3dde5e4 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Wed, 22 Sep 2004 11:42:40 +0000 Subject: [PATCH] let's pretend nothing happened even the time just before --- scripts/mailman/mailman-rpc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mailman/mailman-rpc.py b/scripts/mailman/mailman-rpc.py index 7c68215..583c858 100755 --- a/scripts/mailman/mailman-rpc.py +++ b/scripts/mailman/mailman-rpc.py @@ -18,7 +18,7 @@ #* Foundation, Inc., * #* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * #*************************************************************************** -# $Id: mailman-rpc.py,v 1.26 2004-09-22 11:41:12 x2000habouzit Exp $ +# $Id: mailman-rpc.py,v 1.27 2004-09-22 11:42:40 x2000habouzit Exp $ #*************************************************************************** import base64, MySQLdb, os, getopt, sys, MySQLdb.converters @@ -413,8 +413,8 @@ uid = getpwnam(mm_cfg.MAILMAN_USER)[2] gid = getgrnam(mm_cfg.MAILMAN_GROUP)[2] if not os.getuid(): - os.setreuid(uid,uid) os.setregid(gid,gid) + os.setreuid(uid,uid) if ( os.getuid() is not uid ) or ( os.getgid() is not gid): sys.exit(0) -- 2.1.4