|
|
|
|
|
by NavinF
1612 days ago
|
|
Ahh finally a real use case in this thread. Last time I ran into the “edit an ext4 image as an unprivileged user” problem I used a small VM. There are people trying to fix this problem and there’s a legitimate reason why it’s hard: https://lwn.net/Articles/755593/ IIRC the patches needed for what’s described in that article are already there on Ubuntu. |
|
Plan9's design makes all of this very simple, and a big part of why is the specific choice to eschew standard UNIX semantics and use a different kind of mechanism for privilege management that allowed for flexible namespaces managed outside the kernel. It also has the advantage of moving all filesystem operations out of the kernel.
So this really backs up my point, rather than contradicts it: It's only through mitigating and otherwise contradicting traditional POSIX semantics that linux is able to approach this kind of thing.