Hacker News new | ask | show | jobs
by thomas_witt 62 days ago
I totally agree. It's a shame that the ACL stuff in UNIX-based systems hasn't been changed in the last 20 years (xattr doesn't count).
2 comments

Having had the (dis)pleasure of working with SELinux, it's clear that there are systems out there that can work to solve these problems. On Linux the problem is in the UI/UX layer (actually configuring SELinux rather than working around it is a massive pain) but Apple/Google/MS have the money to solve that.

I don't know if Apple has something like that. Surely they must do; Windows FACLs have been available since NT was part of the name, Linux has had them since Linux 2.5, and Apple invented a whole new filesystem relatively recently. They've also compartmentalised iOS apps since they were first released.

I'd be surprised if the currently available APIs aren't usable for applying effective restrictions just yet. Rather, I think Apple's choice is part of a process to move desktop applications towards the iOS model instead.

> On Linux the problem is in the UI/UX layer (actually configuring SELinux rather than working around it is a massive pain) but Apple/Google/MS have the money to solve that.

That assumes it can be solved and even then it requires research, so you cannot know how much effort it takes to find a solution.

Also, and IMO highly likely, any solution will be unusable for mere mortals. i thin that’s why you are saying “(dis)pleasure” and “configuring SELinux […] is a real pain”

SELinux was originally designed by the NSA to serve their needs, which are probably a bit more intense than "normal" users, and that was over 25 years ago. I'm not convinced a fresh effort couldn't do better, though I'm more skeptical that anyone is willing to invest the resources.
The Russians did, with Astra Linux. They didn't do better
Has it substantially changed since the 1970s introduction of user / group / others octal permissions?
Yes. The name that you should look up is Trusix.
Trusted Unix Working Group (Trusix) Rationale for Selecting Access Control List Features for the Unix System

https://irp.fas.org/nsa/rainbow/tg020-a.htm

What is the signficance now of this 1989 report?