[Twisted-Python] Aplication process uid/gid
Miguel Filho
miguel.filho at gmail.com
Mon Apr 28 07:40:23 MDT 2008
On Mon, Apr 28, 2008 at 9:46 AM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>
> Privileges aren't shed immediately when Application is created. They're
> shed after privilegedStartService and before startService. You should
> delay any potentially sensitive operations until startService (ie, don't
> do them in ACLPolicyDaemonFactory.__init__ which is when I assume you
> meant you were opening that file).
Indeed, I'm doing it from ACLPolicyDaemonFactory.__init__. Should I
implement startService in my Factory class or somewhere else?
Miguel
More information about the Twisted-Python
mailing list