flathub-infra / flatpak-builder-lint

A linter for flatpak-builder manifests
MIT License
48 stars 115 forks source link

Recommend `host` when home, media, mnt are used. #372

Closed bbhtt closed 1 month ago

bbhtt commented 3 months ago
 - --filesystem=home 
 - --filesystem=/run/media 
 - --filesystem=/media 
 - --filesystem=/mnt 

This is effectively host just /opt is missing which is empty most of the time anyway.

bbhtt commented 1 month ago

Actually host shares more than this https://docs.flatpak.org/en/latest/sandbox-permissions.html#filesystem-access, https://man7.org/linux/man-pages/man5/flatpak-metadata.5.html

host includes:

Mounted at /run/host:

This is much more than home and the 3 "media paths" - it is more than host-so and host-etc combined. It's not a good suggestion to offer in this case. cc @barthalion