this post was submitted on 03 Nov 2024
108 points (97.4% liked)

Bitwarden

779 readers
1 users here now

Discuss the Paswordmanager Bitwarden.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] cron 5 points 2 weeks ago (2 children)

I love the security aspects and it's about time that desktop apps cannot access all your files & apps.

But the implementation is IMO improveable. Maybe by the makers of flatpak, maybe by the app developers. A simple Error message like this one would have helped:

Error: Cannot access directory /data, please grant the permission by following these steps (...)

[–] renzev@lemmy.world 5 points 2 weeks ago

Maybe by the makers of flatpak, maybe by the app developers

This falls on the app developers. They're supposed to be using something called XDG desktop portals. It opens a filepicker window on the host, the user selects which file they want, and that specific file gets passed through into the sandbox automatically, no permissions needed. Though it's not perfect either -- AFAIK there's no way to pass though a directory using XDG portal, and drag-and-drop is broken (at least on X11). For command-line apps (tho it's not really what flatpak was designed for), the equivalent is the --file-forwarding option.

[–] penquin@lemm.ee 3 points 2 weeks ago

Error: Cannot access directory /data, please grant the permission by following these steps (...)

That would solve a ton of issues for new users. At least let them aware, instead of them scrambling for hours.