frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Sovereign Tech Agency invests €500k in Flatpak

https://modal.cx/blog/announcing-flatpak-sta/
60•eigenspace•2h ago

Comments

TekMol•51m ago
I never understood why a program installed in Flatpak is not just a directory on disk.

When you install something via Flatpak, it still changes data in god-knows-what places on my disk. And the software itself has read/write access to god-knows-where on my disk.

The answer is probably "convenience and efficiency". But I would much prefer a "An application is a directory and by default cannot access anything outside of that directory" approach.

kodoman•47m ago
I use podman for things like this, works perfect until you want desktop applications but you can hack it about a bit to work fine with pipewire and Xephyr and you have. I feel like a lot of these desktop container systems are horrible and are quite hostile to configuring in the way you want around permissions and such and podman or docker does a better job.
schmorptron•43m ago
I'd prefer that too. Preferrably with permission popups for requesting folder access outside of it. Shared libraries / whatever flatpak calls them could live at a central symlinked location?
vaylian•39m ago
> But I would much prefer a "An application is a directory and by default cannot access anything outside of that directory" approach.

That makes sense if the application is the only program that needs to interact with the data. For example: If you have a drawing or photo editing program. You might have downloaded an image from the internet or from your camera. Then you make some edits. Afterwards you want to send the image to someone else via e-mail, which is another program.

lunar_rover•37m ago
Tech debt, primarily. Flatpak is designed to be able to package apps not designed with it in mind.

If neither compatibility nor resources are of concern then integrating true Mandatory Access Control into both the UX and the entire tech stack would be the best way forward.

meibo•35m ago
It's up to you, really, to only use flatpaks that declare tight permissions and implement the proper protocols to safely access resources they don't declare.

This isn't always easy and a lot of software on flathub is old-ish, so people tend to open up permissions since it's difficult to implement all these features properly. In my experience people will rarely stand in your way if you try to improve a package.

Gigachad•2m ago
It’s also just hard to make breaking changes on Linux. Apple can declare something is changing and you have 1 year to get with the program. In Linux you have to bargain and plead with devs over 10 years to change something.

Restricting an app to not have file system access is a breaking change. It would have been dead in the water if they didn’t meet half way and make file system access an optional permission.

bashZorina_09•34m ago
Same prefer, although I'm not sure what you mean by "installing changes data in places on my disk"?

Nothing should change, all installations and addons go to the ~/.var directory. When you launch the application, yes it can start reading and writing to arbitrary places on disk, which is why I make it a habit of first launching Flatseal to modify permissions and know exactly what it can and can't do and reach.

I actually vastly prefer this methodology with what we have right now, but if it or something else adopted an application/directory methodology as you described I'd be elated.

kalaksi•32m ago
Isn't that exactly how it's supposed to work, though? When I install a flatpak app for my user, it gets put into a standard location as a directory and by default has no access to filesystem other than the apps own config and data dirs (can't remember the paths). The fact that many apps choose to require excess permissions and can then bypass standard locations is a different matter
pinkwah•26m ago
By default, software has a sandboxed location that is exposed to the host in `~/.var/app/[APP]`.

Most software needs access to user files. Since most applications aren't written with Flatpak in mind, they will attempt to load files using their own file browser, meaning that for the application to function at all it needs to have access to swaths of extra data. You can see what data the application can access either via FlatSeal or in whatever "app store" you're using. Often it'll be your entire home directory.

The software that is designed with Flatpak in mind will use XDG Desktop Portals, where the host displays a file browser and then hooks it up to the sandboxed app so it has access only to that file or directory.

Note that you can't magic your way out of this. You can't eg. wait for the program to request access to a file before displaying a "Program wants access to this file. Allow/Deny" because the program doesn't know if this file exists, and the user wouldn't be able to navigate to it via the program's bespoke file browser since it doesn't have access to directories or their contents.

koe123•48m ago
Maybe I am too propagandized, but honestly after going Nix I can’t help but feel like this stuff is fundamentally a waste of time
andsens•42m ago
Agreed. With all the improvements in namespacing I’m seeing the potential of all desktop apps being namespaced in a reasonable way, where filesystem access to e.g. /home is controlled through a kernel-hook prompt callback, with something like “always allow for this directory” etc. That’d be so awesome!
kodoman•39m ago
Only issue is with Nix as a long time user, it does not provide a standard way to run your nix builds in some kind of container, there are so many different competing third party systems and some first party systems built in nixpkgs it's self like building oci or docker containers or running systemd containers or even building qcow2 images, each with their own draw back and positives.

More and more I have found myself simply using podman and dockerfiles finding that building nix systems simply gets error prone and annoying and all the containerization systems leave a lot to be desired. Though I have some custom scripts for utilizing btrfs snapshots to create different nix store snap shots for containers or vms running with nix stores with virtiofs. This works quite well but not ready to be released and fiddly when things break and requires BTRFS.

I do agree flatpak and friends are not great though.

tancop•8m ago
Nix is always doing its own thing. The community is fragmented and there are no enforced packaging conventions. They have a "best practices" page that lists language features you're not supposed to use because they break reproducible builds, aka the whole point of Nix. And they don't even restrict network access by default.

It's also not doing runtime sandboxing at all. Isolated builds protect you from supply chain attacks but not malware or vulns in the actual code, and they don't do anything for closed source apps.

Flatpak runs everything in a container with access limited to what is declared in the manifest and you can restrict it even more with Flatseal. It's not as secure as a Firecracker VM but it works way better than any other package system on Linux when it comes to security and distro independence.

blizdiddy•40m ago
Flatpak is great for installing, but as a happy Aurora user, it’s annoying and it breaks things all the time. Every desktop app i use has some broken feature. Sandboxes as another permissions panel suck. Simple browser-like permissions that allow prompted overwrite would be WAY better!

Now i have media organizer programs that deletes my files if i try to write on a networked drive. Games that can’t see the controller. Chat apps that can’t see attachments. Music app that can’t save at all. Good luck accessing any binary and using it in a script.

znpy•39m ago
To be honest i don't see how having flatpack going to help the (european/german) "sovereign tech" initiative.

A waste of money if you ask me.

I think there are much more important issues that should deserve money and attention.

moooo99•17m ago
Flatpaks are a common packaging mechanism used on immutable systems. They are very attractive (conceptually) for large org deployments, so I can totally see the appeal here
Nux•35m ago
Waste of money.

"For Modal, a robust app sandboxing story is essential to creating a Free Software OS that is competitive with modern mobile platforms."

Why? Focus should be desktop, not mobile.

We have enough mobile stuff that creeped in already.

minimeow•33m ago
My trust in Flatpak diminished after installing the book reader Calibre and finding that despite the sandboxing Calibre was given blanket access to my drive. Apparently a quirk of the developer behind Calibre insisting upon it. No warnings or communication of the exception were given. All trust I had in Flatpak was eroded from that moment on. Curious about the podman options or similar. Having desktop apps in a container with selective access to system resources seems like it would be more secure and configurable if configured correctly. Flatpak as it stands seems to be a legacy solution to what should be a container and namespacing solution.
jarym•19m ago
That’s what the kasmweb images on dockerhub are - desktop apps containerised
kalaksi•19m ago
Don't know how you installed it, but required permissions are usually shown and warned about. The CLI could be clearer, though, but shows that host filesystem access is granted to calibre when it prompts to install
j1elo•33m ago
I loved Flatpak until I started building a MiniPC with a 112 GB internal disk for HTPC usage... Then I felt the pain of having to get all slightly different dependency versions for each little program I wanted.

The box' cost already topped the project's budget so no new disk for it. I'm back to "proper .deb packaging please"

sdcfgy•31m ago
I'd rather they invested €500k in contributing to the maintenance of distribution packages so I don't need to deal with Flatpak (on Debian here).
JanisErdmanis•11m ago
I like the idea behind Flatpak and the ability to sandbox applications. What I don't understand is why they chose to lock the build process so tightly to Linux.

I'm currently on macOS, and while I can cross-compile applications, I can't actually bundle them as Flatpaks. For that, I need `flatpak-builder`, which is so deeply coupled to Linux itself that I don't think it can realistically run on other platforms.

Snaps have a similar issue with `snapcraft`. However, you can still build a snap manually with `mksquashfs`, whereas I haven't found an equivalent low-level option for Flatpak. I may be missing something, though, and I'm still looking.

regexorcist•8m ago
I use bubblewrap directly, never liked Flatpak.
a-french-anon•4m ago
Same except for Steam. Hope this money revitalizes bubblewrap's development, it'd be nice to get proper signal handling cleanup up then merged (even util-linux's unshare has it, these days).
koe123•4m ago
Maybe I am vastly underestimating it, but I could imagine this being buildable atop of nix quite straightforward?

Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache

https://blog.cloudflare.com/dns-cache-memory-optimization-1111/
704•TangerineDream•14h ago•210 comments

Small Models Have Arrived

https://calv.info/small-models-have-arrived
607•tosh•16h ago•277 comments

Sovereign Tech Agency invests €500k in Flatpak

https://modal.cx/blog/announcing-flatpak-sta/
61•eigenspace•2h ago•27 comments

Show HN: OpenTIE and OpenXWA, Modern Ports of Tie Fighter and X-Wing Alliance

https://github.com/elyosh/OpenTIE/
150•elyosh•9h ago•37 comments

507 Mechanical Movements

https://507movements.com/
561•helloplanets•17h ago•72 comments

Gemini-3.5-Transcribe

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-5-transcribe/
257•k9294•14h ago•81 comments

Microduck

https://pollen-robotics.com/microduck/
627•robotswantdata•21h ago•209 comments

We found a division by zero bug in FFmpeg with a vibecoded fuzzer

https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/24290
228•dclavijo•14h ago•172 comments

Doctors are finally learning to manage antidepressant withdrawal

https://www.newscientist.com/article/2584861-antidepressant-withdrawal-symptoms-are-prompting-a-r...
100•eutropheon•9h ago•91 comments

Terminal-Bench-Science: Evaluating AI agents on scientific research workflows

https://www.terminal-bench-science.ai/announcement
72•matt_d•7h ago•23 comments

Gemini Omni 1.1 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/build-with-gemini-omni-1-1-flash/
236•saretup•14h ago•162 comments

Show HN: We built open OpenRouter that turns usage into a better model

https://github.com/experientiallabs/experiential
167•SilenN•10h ago•30 comments

AI Engineer Notebooks – free, framework-free RAG/agents/evals on Colab

https://github.com/calmrocks/ai-engineer-notebooks
96•calmrocks•10h ago•9 comments

The turbulent AI era is here

https://www.gatesnotes.com/a-turbulent-ai-era-and-critical-choices-to-make
281•nanna•1d ago•527 comments

GoGoGrandparent (YC S16) is hiring back end engineers

https://www.ycombinator.com/companies/gogograndparent/jobs/2vbzAw8-backend-engineer
1•davidchl•4h ago

Show HN: The load-bearing vocabulary of Claude

https://louisabraham.github.io/load-bearing/
470•Labo333•23h ago•228 comments

Bootstrappable Builds: How and Why

https://lwn.net/Articles/1088279/
35•signa11•5h ago•12 comments

Select * from Internet.blogposts

https://pfrazee.leaflet.pub/3mu3p2smmis22
80•mmattbtw•9h ago•34 comments

Decompiling a Nintendo 64 game in 84 days

https://blog.chrislewis.au/decompiling-a-nintendo-64-game-in-84-days/
228•knackers•17h ago•133 comments

Afterglow: Run classic After Dark screen savers on modern macOS

https://morphing.cloud/afterglow/
143•NaOH•1d ago•42 comments

Stripe said to abandon $50B pursuit of PayPal

https://www.bloomberg.com/news/articles/2026-08-28/advent-stripe-consortium-is-said-to-drop-pursu...
125•1986•6h ago•137 comments

Nvidia agrees to acquire Hugging Face for $13B

https://www.businessinsider.com/nvidia-in-talks-to-buy-hugging-face-13-billion-dollars-2026-8
1882•mfiguiere•1d ago•870 comments

Emacs 31: An unofficial guide to Markdown-ts-mode

https://rahuljuliato.com/posts/markdown-ts-mode-emacs-31
173•RahulMJ•18h ago•70 comments

Suica, Japan's First IC Transit Card

https://www.tokyodev.com/articles/the-story-of-suica
233•zdw•16h ago•199 comments

Previewing the Model Hardware Standard

https://www.anthropic.com/news/model-hardware-standard-research-preview
110•surprisetalk•13h ago•41 comments

M5Stack Launches PaperMono

https://shop.m5stack.com/blogs/news/m5stack-launches-papermono-a-compact-e-ink-development-termin...
128•marksully•14h ago•49 comments

Show HN: IndexFlow – Open-source indexing infrastructure built with Rust

https://github.com/IndexFlowing/IndexFlow-core
17•mandarinclips•5h ago•6 comments

Show HN: Voronoi Go

https://voronoigo.com/
124•igpay•14h ago•16 comments

USDA recalls 30k pounds of Argentine beef sold in Texas and Florida

https://cbsaustin.com/news/local/usda-recalls-30000-pounds-of-argentine-beef-sold-in-texas-and-fl...
87•cocacola1•5h ago•46 comments

Engineered yeast for converting plastic and biomass compounds to food additives

https://acs.digitellinc.com/live/37/session/586399
101•ehwa37•16h ago•77 comments