17
submitted 2 days ago by Quail4789@lemmy.ml to c/linux@lemmy.ml

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)?

you are viewing a single comment's thread
view the rest of the comments
[-] mik@sh.itjust.works 10 points 2 days ago* (last edited 2 days ago)

It helps protect you because if the application in question is compromised in any way (or has a flaw, i.e. an accidental rm -rf /*), the only access it has is limited to the user it is run as. If it is run as root, it has full administrative privilege.

[-] Quail4789@lemmy.ml 3 points 2 days ago

Isn't that a risk for anything downloaded, assuming I run transmission as my user, not root?

[-] bad_news@lemmy.billiam.net 1 points 2 days ago

It's more the situation where the torrent/magnet string itself (or some peer connection) has some clever hack that exploits a bug in Transmission, allowing it to execute arbitrary code AS transmission. I'm skeptical there's a big risk of that, but the security theater kids LOVE sand boxing these days

[-] mik@sh.itjust.works 5 points 2 days ago

It may be mostly "security theater" but it requires almost no extra effort and drastically increases the difficulty of compromise by adding privilege escalation as another requirement to gaining root access.

load more comments (4 replies)
load more comments (12 replies)
load more comments (13 replies)
this post was submitted on 14 Oct 2024
17 points (100.0% liked)

Linux

47733 readers
911 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS