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:25 +0100
commitafb2fa1b5cb7443956545578b7a5bcf61b7277a6 (patch)
tree8ad51915a51d812aa3d890eef76336e8fc8c9458
parent0c2e653658b029130a66ceb2444a789a2516545c (diff)
downloadpykolab-afb2fa1b5cb7443956545578b7a5bcf61b7277a6.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: