Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#7555 closed enhancement (fixed)

Add ability to run transmission-daemon as a user other than root

Reported by: dirtyfreebooter <openwrt@…> Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: transmission, transmission-daemon Cc:


I would like to run transmission-daemon as a non-privledged user. I've attached a patch that adds a option to the UCI config and updates the init.d script to pass that user onto the start-stop-daemon call.

(1) I use netatalk for Mac Network volumes. Samba is a beast and FTP is too limited. Netatalk doesn't allow root authentication, so I want my transmission-daemon to run as the same user I use to authenticate so that the files transmission creates are owned by the same user.

(2) Running transmission as root seems like a security concern. It is exposed to the big bad internet and should probably be by default run as non-root user. I'm not that paranoid, but it seems reasonable.

If (2) is a valid concern among OpenWrt community, I would be happy to patch up the transmission package to add a "transmission" user during install and post it here.

Attachments (1)

transmission-run-daemon-as-different-user.patch (710 bytes) - added by dirtyfreebooter <openwrt@…> 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by dirtyfreebooter <openwrt@…>

comment:1 Changed 8 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Committed in r22065 - thanks!

comment:2 Changed 8 years ago by nico

  • Milestone changed from Kamikaze to Backfire 10.03.1

comment:3 Changed 7 years ago by anonymous

Works wonderfully on WNDR3700 :)

As an extra suggestion, perhaps adding the default run_daemon_as_user value to the default config file as well would help discovering this feature :).

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.