How would file system being only writable or only executable work in practice?
How would file system being only writable or only executable work in practice?
Posted Nov 7, 2025 5:47 UTC (Fri) by raven667 (subscriber, #5198)In reply to: How would file system being only writable or only executable work in practice? by gray_-_wolf
Parent article: A security model for systemd
This style of system won't be appropriate for every kind of use case, but I think we should try and push this style of system to see how far it can go, because I think it can work for a lot of uses and can be much more reliable and simple to reason about. Only a fraction of computer use is developing binary software, most is editing data files which this kind of system design can already handle fully. Even development in languages which don't compile to binary executables would work fine.
For compiled binary software carving out a portal to a read+execute subdirectory accessible from a container, which may have a limited view of the system outside of its own runtime and the directory for development. Having read+execute access to a small part of the system in a controlled way is still a win when the rest of the system can't be compromised and the blast radius of any badness is small and manageable.
I've been using Silverblue for my day job (and just switched to Bazzite at home for my gaming system) and the immutable image-based systems are different, but not bad. It's nice to know that there is a solid base underneath my work that I can't accidentally crud up with changes and experiments I forgot making. Flatpak has been a joy (although a few nits to pick, slow startup time for simple apps is one), but I still target my development to RPMs on traditionally-managed servers, so I don't know how painful translating that to OCI containers would be, although I think building a container using traditional OS distribution packaging tools makes sense, those were developed in response to `make install` style system management and provide useful frameworks to manage that complexity.
