|
|
|
|
|
by lucb1e
2210 days ago
|
|
Wasn't AppArmor already doing this though? If I remember correctly (and I never properly read up on it, so please correct me if I'm wrong) it limits which syscalls you can do and with which parameters, like opening only certain files. I think apparmor rules/profiles were becoming more common to be delivered with their respective packages (I'm using Debian), and it sounds like that already solves your exact concern without deviating from apt: > it is plain weird for every app I install to have so much file system and system access A quick glance at Wikipedia to make sure I'm not talking out of my ass seems to confirm that: > is a Linux kernel security module that allows the system administrator to restrict programs' capabilities with per-program profiles. Profiles can allow capabilities like network access, raw socket access, and the permission to read, write, or execute files on matching paths. [...] AppArmor is enabled by default in Debian 10 (Buster) [from July 2019]. (Also, I'm not a fan of claiming "devil's advocate" when you're saying something that you know everyone will agree with. It's similar to saying "downvote me all you want but [insert popular HN opinion]". Of course the principle of lease privilege for software is something lauded by every logically thinking person.) |
|
For whatever reason it's decided that I'm not allowed to connect to the network.
It's easy enough to remove the package, but it likes to tag along as a dependency when installing updates.