Hacker News new | ask | show | jobs
by preisschild 100 days ago
> No warnings or communication of the exception were given. All trust I had in Flatpak was eroded from that moment on

This is just wrong. Clients like the flathub website or gnome software show the risk posed by wide ranging access to local files, but Flatpak has to support legacy applications that don't use portals yet and thus they can't block applications having those permissions

https://flathub.org/en-GB/apps/com.calibre_ebook.calibre

> calibre is potentially unsafe

> Full file system read/write access

> Can read and write all data on the file system

2 comments

The flathub website warnings are good, but some warnings in the CLI would be nice as well.

What it looks like in the CLI (depending on the host):

  com.calibre_ebook.calibre permissions:
    ipc                         network      fallback-x11         pulseaudio
    wayland                     devices      file access [1]      dbus access [2]
    system dbus access [3]

    [1] host, xdg-config/kdeglobals:ro, xdg-data/Trash, xdg-run/speech-dispatcher:ro

I think it is easy to skim over "host" there
> Flatpak has to support legacy applications that don't use portals yet

That was the wrong architectural tradeoff, IMO.