Hacker News new | ask | show | jobs
by elric 234 days ago
Note that if you already have an Obsidian vault, suddenly jailing it might break things. Obsidian stores a bunch of state in ~/.config/obsidian which will no longer be valid. And amusingly/frustratingly, the GTK file picker doesn't take the jail into account and seems to produce invalid paths.

And because --private mounts some bits as temporary filesystems, you might end up losing state. Try before you buy.

1 comments

And all of these issues such as sandboxing and portals are solved by using the Flatpak version instead.
I don't know much about flatpak. How does it solve these issues?
It provides a sandbox, an API to access stuff outside of it (portals), and standard tools to customize what your software has access to (Flatseal, KDE app settings). It's based on the same technology as Docker containers, but for user-space GUI apps.

AppImage is a binary distribution format that does none of that stuff, so you need external tools, like firejail, to limit what the application has access to.