flathub / org.chromium.Chromium

https://flathub.org/apps/details/org.chromium.Chromium
43 stars 25 forks source link

Add .pki as a persistent folder location #363

Closed thatLeaflet closed 5 months ago

thatLeaflet commented 6 months ago

By default, the Chromium flatpak has access to the whole home directory. One of the annoying things that Chromium does is create a .pki folder directly in the user's ~, which at no point the user will ever need to see.

By adding the .pki folder as a persistent folder location, this folder will instead be placed in ~/.var/app/org.chromium.Chromium/.pki so that the user will never has to see it.

JakobDev commented 6 months ago

As far as I remember persistent don't work together with permission for the home directory

refi64 commented 5 months ago

Yup that won't actually work. If you want to avoid the .pki you can just remove the home permission. (It's only really there for compat reasons; this Flatpak predates the ability to open folders via the filesystem portal.)