[Twisted-Python] Using twistd with -c option causes permission error

Jean-Paul Calderone exarkun at twistedmatrix.com
Wed Aug 29 05:04:43 MDT 2018


On Tue, Aug 28, 2018 at 5:54 AM Richard Shea <rshea at thecubagroup.com> wrote:

>
> With Apache the process starts as root, reads the key and then makes the
> apache process run as a different, less powerful, user  but I can't see how
> you can do the equivalent for twistd ? Am I overlooking something ?
>
>
twistd has `--uid` and `--gid` options for switching to another user after
`privilegedStartService` runs.  However, I'm not sure how much help this
will be since there is a strong desire to replace twistd with twist and
twist does not have these features.  Perhaps someone who has been working
on twist can explain the preferred workflow using that tool.


>
> Thanks
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20180829/249220b1/attachment-0002.html>


More information about the Twisted-Python mailing list