mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Revert "drops suplemental groups when droping privileges."
This reverts commit 634ccba7c3f9f72f7aedbe4690c18ebdbdf8b2e1. doesn't work on OSX for some reason
This commit is contained in:
parent
056e513bc2
commit
40d705c5d6
@ -146,9 +146,6 @@ def set_owner_process(uid,gid):
|
||||
# groups like on osx or fedora
|
||||
os.setgid(-ctypes.c_int(-gid).value)
|
||||
|
||||
# Also drop supplemental groups
|
||||
os.setgroups([])
|
||||
|
||||
if uid:
|
||||
os.setuid(uid)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user