id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	branch	branch_author	launchpad_bug
5297	twistd pidfile and UID/GID privileges	tomsheffler		"When twistd starts as root, and is asked to drop privileges to UID/GID, it will manage the pidfile in the following way

- the pidfile will be created as root
- upon exit, the pidfile will be removed by a process with privileges of UID/GID

The current implementation places some unexpected on setting up the pidfile directory: it must be writable by UID/GID or the pidfile is not removed.

This behavior is mysterious and unexpected.  At the least it should be documented.

See here for more details: http://www.tsheffler.com/blog/?p=526"	defect	reopened	normal		core		twistd pidfile				
