3 ms·
> As single user, each and every process has full and complete control of $HOME. I would prefer all applications were sandboxed to their own little respective a
by SoftTalker 2y ago
> As single user, each and every process has full and complete control of $HOME. I would prefer all applications were sandboxed to their own little respective areas with minimal access to data unless explicitly authorized.
This is what OpenBSD's unveil does. Firefox for example only has access to ~/Downloads (and some stuff in ~/.mozilla, ~/.config, ~/.cache) in my home directory.
- 3eb7988a1663 2y agoNow this looks promising for mere mortals. I found jart's Linux port of pledge[0] which makes it seem possible to simply wrap utilities through a preceding script. If I couple this with distrobox/podman (which should work fine?) I might be able to pretty seamlessly lock down utilities by default with minimal shenanigans. Assuming it does what it says on the tin, and it can work with GUI apps, this would get me almost all the way. [0] https://justine.lol/pledge/ https://justine.lol/pledge/