--- ../../2.1/scripts/driver 2018-04-13 09:24:59.491372477 -0700 +++ driver 2019-07-25 10:52:45.729379682 -0700 @@ -20,6 +20,7 @@ # This better succeed. If this fails, Python is royally screwed so we might # as well let the Web server give us a fatal and obtrusive error. import os +import grp import sys # From here on we are as bulletproof as possible! @@ -196,6 +197,8 @@ except ImportError: os = None + # Write effective GROUP + print >> logfp, 'Process effective group =', grp.getgrgid(os.getegid())[0] # Write some information about our Python executable to the log file. print >> logfp, '[----- Python Information -----]' print >> logfp, 'sys.version =', sys.version @@ -207,6 +210,8 @@ # Write the same information to the HTML sink. if not STEALTH_MODE: + print '
Process effective group =', grp.getgrgid(os.getegid())[0] + print '
' print '''\