#1473: Adding support for switching uid after startup for daemons
-------------------------+--------------------------------------------------
Reporter: cinderblock | Owner:
Type: defect | Status: new
Priority: major | Milestone: Future
Component: other | Version: other (please specify)
Keywords: |
-------------------------+--------------------------------------------------
I've written a patch to let deluged and deluge-web be started by root and
then switch UIDs (and GIDs). The main reason for this (for me) is so they
can write a pidfile (specified at the command line) as root and then
switch to regular/lower privileges.
I also cleaned up the forking in deluged (before ever looking at the
deluge-web source) and then saw that it was done in this much cleaner way
in the deluge-web daemon.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/1473>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.