|
|
Log in / Subscribe / Register

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 11:23 UTC (Fri) by farnz (subscriber, #17727)
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

One component of making this usable is exploiting containerization. You have a "project A developer container", which has a filesystem that's both writable and executable, and once "project A" is ready to deploy, you build a "project A production container" which is either writable or executable but not both.

Then, you deploy the production container (possibly on the same machine as the developer container) for normal use; you don't use the developer container except for development. This extra stage is overhead, but it reduces the attack surface, since the container you use in normal use (the production container) doesn't have a writable filesystem, and ideally has a more restrictive sandboxing policy applied than the developer container (which has to have fewer restrictions so that you can actually do work).


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds