logoalt Hacker News

0ltoday at 5:22 PM3 repliesview on HN

Indeed, and most flatpaks have access to the home directory so are also able to do this even though they're """sandboxed"""


Replies

silver_suntoday at 6:46 PM

Flatpak uses Portals to let the user grant access to different files/directories, apparently they don't have access by default: https://docs.flatpak.org/en/latest/sandbox-permissions.html

I was also unable to find any Flatpak that has access to the home directory when installed, you may well be right but I couldn't find any. I used Flatseal to verify the permissions: https://flathub.org/en/apps/com.github.tchx84.Flatseal

I'm also of the opinion that we generally shouldn't use software that we don't absolutely trust. That has kept my .bashrc (and other files) safe so far.

Arrowmastertoday at 6:26 PM

I don't think flatpak allows access to hidden files so even those with access $HOME cannot do this.