From: x2000habouzit Date: Wed, 22 Sep 2004 11:42:40 +0000 (+0000) Subject: let's pretend nothing happened even the time just before X-Git-Tag: xorg/old~1511 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=084a118fba6a07ead57e082801c66a6bb3dde5e4;p=platal.git let's pretend nothing happened even the time just before --- 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)