News for hackers. Stuff that matters.
Re:Richard Stallman on why GNU su didn't support the “wheel”... by atahanacar on Friday August 18, 2023 @01:38PM (#37179275)
If everything is a file, and files can have permissions, then you can simply allow the "program user" access to those files using groups.
Re:Richard Stallman on why GNU su didn't support the “wheel”... by jcrawfordor on Friday August 18, 2023 @05:51PM (#37182644)
The group model is far too inflexible to make this realistic... A file can only have one group, and people use more than one application. ACLs are available on Linux (although seldom used) and help to address this problem, but the ergonomics are very poor. Since ACLs don't address the issue of syscalls, IPC other than file based, etc., It hasn't really made sense to make them the focus or application isolation efforts. The kernel namespacing and capabilities features are a lot more attractive for this use and are more similar to the historic approach of chroot... But the tools still aren't great.
Re:Richard Stallman on why GNU su didn't support the “wheel”... by atahanacar on Saturday August 19, 2023 @03:13AM (#37186341)
>A file can only have one group, and people use more than one application

But users can be in multiple groups. You can have files with groups like "graphics, audio" etc. and give access to the application users by adding that user to the relevant groups.

>IPC other than file based

This isn't UNIX model though, is it?

Though I agree with you. Given the current state of programs, file permissions aren't enough for isolation.