Flatpaks can't seem to access most folders, including /home

I’m new to Fedora, and reasonably new to Linux, so forgive me if I ask something ignorant.

I’ve been running F37 for a few weeks now (switched from Mint), and recently I’ve ran into an issue with my flatpaks.
None of the flatpaks I install seem to be able to read/write to any directory besides it’s own. Even if I give it the correct permissions with Flatseal, it just won’t work.

For example Thunderbird. If I want to save an e-mail as text file (using a plugin), it doesn’t seem to matter where I want to save it, it will not work. Even the Documents or Download folder. If I want to open an .eml file on a drive, it will say that the file doesn’t exist. Permissions seem fine to me
I have the same issue with Obsidian. On the first screen after install, It can browse to my ‘vault’ on a mounted drive, but it won’t open the ‘vault’. The AppImage works fine.
I’ve tested this with a few ‘drawing’ apps to save a screenshot. Nothing worked. I get no error messages, nothing.
Apps I install as rpm work without issues.
Maybe unrelated, since I don’t know if it is a flatpak, but I’ve installed LCDproc for my keyboard, and it will not save the settings as well. It resets after every reboot.

I’ve been searching for a fix, and one of them suggested to move/delete the dconf folder in .cache. Besides resetting my Gnome settings, it didn’t change a thing.

I also run F37 on my laptop, and that all works fine.
Since I’ve ‘hopped’ from Mint on both devices, a difference during install was that I kept my /home folder from my mint install on the PC with the issues. Could that have messed some things up?

1 Like

Flatpaks are sandboxed to protect access.

If you install the flatpak flatseal, you can give certain flatpaks access to the areas you want them to have.

If that isn’t working, can you share the permissions the flatpak has?

2 Likes

This shoudl fix it if it’s about /home access:

Specifically, look under Files for the application and tweak it for the level of access you might want to give it:

7176f37743aea7880d20f9a08d3f2e1fe4c6a1a1.png

1 Like

Thanks for the reply.
I’ve added a screenshot of the flatseal settings of the app I used for the screenshot (I can only post 1 image as new user).
The app can see the drives, but nothing happens. I had to take the screenshot, uninstall the flatpak, install the rpm version and save the screenshot.

All these settings are identical to those on my laptop, and they work there.

1 Like

Hi, did you solve your problem?

It seems I have the same issue out of a sudden, when my app (GNOME Backups) was working just a day before (thread: Gnome Backups (DejaDup) suddenly unable to open paths!?).

Albeit I changed something, but I don’t think I could’ve changed anything so drastically so that GNOME Backups won’t be able to access any directories I want it to access.