Thanks. Will fix. ---
James On 09/11/2005, at 7:14 PM, Lars T. Mikkelsen wrote: > Hi, > > I don't know if this is a feature or a bug, but when I start the latest > 0.11 branch as a non-root user I get the following error: > > Traceback (most recent call last): > File "/usr/bin/twistd", line 25, in ? > run() > File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", > line 195, in run > app.run(runApp, ServerOptions) > File "/usr/lib/python2.4/site-packages/twisted/application/app.py", > line 271, in run > runApp(config) > File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", > line 186, in runApp > startApplication(config, application) > File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", > line 171, in startApplication > shedPrivileges(config['euid'], uid, gid) > File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", > line 138, in shedPrivileges > switchUID(uid, gid, euid) > File "/usr/lib/python2.4/site-packages/twisted/python/util.py", line > 650, in switchUID > setgid(gid) > > Removing the uid and gid arguments for service.Application() in > PyMSNt.tac fixes the problem. Perhaps some check should be added to > check if twistd was started as a non-root user. > > Best regards, > Lars > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports >