Roundup Tracker - Issues

Issue 1171346

classification
Typo in setgid
Type: Severity: normal
Components: Command-line interface Versions:
process
Status: closed fixed
:
: richard : greenrd, richard
Priority: normal :

Created on 2005-03-27 11:41 by greenrd, last changed 2005-03-27 11:41 by greenrd.

Messages
msg1922 Author: [hidden] (greenrd) Date: 2005-03-27 11:41
This is a patch against 0.8.2 (against the installed
module) to make the -g option work - there was a stray
"not" which was preventing it from working:

--- roundup/scripts/roundup_server.py.orig     
2005-03-27 12:34:29.000000000 +0100
+++ roundup/scripts/roundup_server.py   2005-03-27
12:34:43.000000000 +0100
@@ -251,8 +251,7 @@
     if not hasattr(os, 'setgid'):
         return

-    # if root, setgid to the running user
-    if not os.getuid():
+    if os.getuid():
         print _('WARNING: ignoring "-g" argument, not
root')
         return

History
Date User Action Args
2005-03-27 11:41:56greenrdcreate