I noticed Debian does this by default and Arch wiki recommends is citing improved security and upstream.

I don’t get why that’s more secure. Is this assuming torrents might be infected and aims to limit what a virus may access to the dedicated user’s home directory (/var/lib/transmission-daemon on Debian)?

  • Quail4789@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    29 days ago

    Has there ever been such an exploit? Given all other torrent clients I’ve seen just run as your user by default, is there something different in transmission over others that make it more vulnerable?

    • loutr@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      29 days ago

      The point is also to minimize potential damages caused by a bug in the software. Just this year there have been multiple data-destroying bugs in publicly released software. If the app runs as a server it’s usually trivial to have it run as a dedicated user, with just enough permissions to do its job.

      It’s just good practice, even though the risks might be low why risk it at all?

    • Fonzie!@ttrpg.network
      link
      fedilink
      arrow-up
      1
      ·
      29 days ago

      Not yet, but if every system was only protected against what already happened instead of also what could happen, we’d get hacked a lot more often!