summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-15 13:49:25 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-15 13:49:46 +0100
commitecf74101ee461d16a46626c02237152633a2a802 (patch)
treed5aa30987a6c5e577a60f6ad739391361abcefc3
parentfae4e05bc1e0dc387d91717a375473332d5394c2 (diff)
downloadpykolab-ecf74101ee461d16a46626c02237152633a2a802.tar.gz
Do not actually switch gid in logger
-rw-r--r--pykolab/logger.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/pykolab/logger.py b/pykolab/logger.py
index fc396cb..ef38f4f 100644
--- a/pykolab/logger.py
+++ b/pykolab/logger.py
@@ -142,17 +142,6 @@ class Logger(logging.Logger):
sys.exit(1)
- # Set real and effective group if not the same as current.
- if not group_gid == rgid:
- self.debug(
- _("Switching real and effective group id to %d") % (
- group_gid
- ),
- level=8
- )
-
- os.setregid(group_gid, group_gid)
-
if ruid == 0:
# Means we haven't switched yet.
try: