Projects
Kolab:3.4
pykolab
pykolab-0.6.12-no-switching-gid-in-logger.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pykolab-0.6.12-no-switching-gid-in-logger.patch of Package pykolab (Revision 75)
Currently displaying revision
75
,
Show latest
commit ecf74101ee461d16a46626c02237152633a2a802 Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Date: Sat Feb 15 13:49:25 2014 +0100 Do not actually switch gid in logger 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:
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.