Bug fix
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Wed, 28 Nov 2007 08:41:44 +0000 (03:41 -0500)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Wed, 28 Nov 2007 08:41:44 +0000 (03:41 -0500)
bin/ceo

diff --git a/bin/ceo b/bin/ceo
index 6cd3d16..e707277 100755 (executable)
--- a/bin/ceo
+++ b/bin/ceo
@@ -18,8 +18,8 @@ for pathent in sys.path[:]:
     if not pathent.find('/usr') == 0 and not pathent.find('/var') == 0:
         sys.path.remove(pathent)
 
-euid = os.geteuid()
-egid = os.getegid()
+euid = os.getuid()
+egid = os.getgid()
 try:
     os.setreuid(euid, euid)
     os.setregid(egid, egid)