changeset 3279:6e7462bbafde

fix setgid typo [SF#1171346]
author Richard Jones <richard@users.sourceforge.net>
date Wed, 13 Apr 2005 06:12:12 +0000
parents 3084b07ec266
children f3d15524562e
files CHANGES.txt roundup/scripts/roundup_server.py
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Wed Apr 13 05:30:06 2005 +0000
+++ b/CHANGES.txt	Wed Apr 13 06:12:12 2005 +0000
@@ -25,6 +25,7 @@
 - send errors in the web interface to a logfile by default. Use the
   "debug" multiprocess mode (roundup-server) or the DEBUG_TO_CLIENT var
   (roundup.cgi) to have the errors appear in your browser
+- fix setgid typo (sf bug 1171346)
 
 
 2005-03-03 0.8.2
--- a/roundup/scripts/roundup_server.py	Wed Apr 13 05:30:06 2005 +0000
+++ b/roundup/scripts/roundup_server.py	Wed Apr 13 06:12:12 2005 +0000
@@ -17,7 +17,7 @@
 
 """Command-line script that runs a server over roundup.cgi.client.
 
-$Id: roundup_server.py,v 1.78 2005-04-13 05:30:06 richard Exp $
+$Id: roundup_server.py,v 1.79 2005-04-13 06:12:12 richard Exp $
 """
 __docformat__ = 'restructuredtext'
 
@@ -263,7 +263,7 @@
         return
 
     # if root, setgid to the running user
-    if not os.getuid():
+    if os.getuid():
         print _('WARNING: ignoring "-g" argument, not root')
         return
 

Roundup Issue Tracker: http://roundup-tracker.org/