flatpak: Handle more well-known filesystem permissions
Coming from !1317 (comment 1429316):
There are various other documented values which we might want to handle here. Although we probably only want to add support for them on main
, not gnome-42
, to avoid unnecessary string freeze breaks.
The missing values are: host-os
, host-etc
, xdg-desktop
, xdg-documents
, xdg-music
, xdg-pictures
, xdg-public-share
, xdg-videos
, xdg-templates
, xdg-cache
, xdg-config
, xdg-data
, xdg-run
Some of them won’t make sense to handle separately, and should probably be treated like home
(for example, I can’t think of a distinction between home
and xdg-data
which could be explained to a user). But some could usefully be distinguished: host-os
is not really the same as host
as it doesn’t allow access to user-specific data. xdg-pictures
is more restrictive than home
(and could be treated similarly to xdg-download
), etc.