Hacker News new | ask | show | jobs
by bpfrh 42 days ago
The security issue has not really anything to do with where you install something, but that when you run something it has access to everything you have.

Linux needs fine grained easy to use permissions, on desktop _and_ servers, there is a reason there is a high investment in container technologies and there is selinux and apparmor.

1 comments

Programs installed in my home directory end up being run as my user. There is usually no clean way to do it differently.

But if programs are installed in the filesystem hierarchy and optionally split into multiple parts, they can be run as different or even multiple users.

I wouldn't consider selinux easy to use. apparmor is in a way even optional.