.flatpak-info/bwrapinfo.json emulation #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
xdg-desktop-portal
requires integration with the sandbox tool for certain portal interfaces to function properly (e.g.org.freedesktop.portal.FileChooser
.) The wayflatpak
does this (and probably the easiest way to emulate..) is to introduce a/.flatpak-info
file in the mount namespace ofxdg-dbus-proxy
as well as abwrapinfo.json
at$XDG_RUNTIME_DIR/.flatpak/$INSTANCEID
. I was considering attempting this myself but I was curious if there were any plans the maintainers had for this functionality.I have experimented with the document portal in the past, all implementations I've seen does not work across uids. I'm still looking into what I can do about that.
For now I implemented file sharing in my setup somewhat like android's /sdcard, where a permissionless filesystem is optionally exposed to apps, and most xdg user dirs are pointed at that directory for apps and the priv-user, so stuff like downloads still work.