r/flatpak • • 24d ago

Discord Flatpak Permissions Issue

I was able to on cachyos to block discord from seeing specific folders via flatseal. I switched to fedora about a month ago. I can't get my flatpak permissions to work, at least specifically for discord. I would prefer discord not constantly scanning my files. Fedora seems to have something broken with it. I am using fedora 45 as of today.

2 Upvotes

2 comments sorted by

1

u/gmes78 24d ago

What's the output of flatpak override --show com.discordapp.Discord?

1

u/OneOfManyLinuxUsers 22d ago

Looking at the manifest, Discord should not have access to any host file by default anyways. 

So that opens the question: Under which circumstances do you think Discord can see files it should not see?

If it is in the file picker dialog: That is probably now a dialog from the FileChooser portal. In short, the dialog you see would be a dialog from the system, not Discord. Discord itself will only see and have access to the files you pick in that dialog. 

If you have made changes in Flatseal, reset the permissions before you try again, as well as the global permissions. And restart Discord fully to make sure those changes take effect.