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

2018-08-31 Thread Glyph
> On Aug 29, 2018, at 4:04 AM, Jean-Paul Calderone > wrote: > > On Tue, Aug 28, 2018 at 5:54 AM Richard Shea > 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 c

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

2018-08-30 Thread Richard Shea
On Wed, 29 Aug 2018, at 11:04 PM, Jean-Paul Calderone wrote: > On Tue, Aug 28, 2018 at 5:54 AM Richard Shea > 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 equiv

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

2018-08-29 Thread Jean-Paul Calderone
On Tue, Aug 28, 2018 at 5:54 AM Richard Shea 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 `--ui

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

2018-08-28 Thread Richard Shea
On Tue, 28 Aug 2018, at 4:01 PM, Maarten ter Huurne wrote: > On Tuesday, August 28, 2018 2:10:22 AM CEST Richard Shea wrote: > > I'm trying to use the -c option of twistd like this : > > > > twistd web --wsgi bar.app -c foo.cer -k privkey.pem --https=4433 > > > > I'm pointing it at a cert with

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

2018-08-27 Thread Maarten ter Huurne
On Tuesday, August 28, 2018 2:10:22 AM CEST Richard Shea wrote: > I'm trying to use the -c option of twistd like this : > > twistd web --wsgi bar.app -c foo.cer -k privkey.pem --https=4433 > > I'm pointing it at a cert with perms like this "-rw-r--r-- 1 root root" but > twistd complains about a