Commit 71ee323a authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

common: Fix up privs drop

Fixes: undefined method `gid' for #<Symbiosis::SSL::SelfSigned:0x00000001ea9088>
parent 12efc3ca
...@@ -480,8 +480,8 @@ module Symbiosis ...@@ -480,8 +480,8 @@ module Symbiosis
# #
# Drop privs before creating the temporary directory, if required. # Drop privs before creating the temporary directory, if required.
# #
Process.egid = self.gid if Process.gid == 0 Process.egid = self.domain.gid if Process.gid == 0
Process.euid = self.uid if Process.uid == 0 Process.euid = self.domain.uid if Process.uid == 0
tmpdir = Dir.mktmpdir(self.name+"-ssl-") tmpdir = Dir.mktmpdir(self.name+"-ssl-")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment