Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Some flatpaks ignore overrides

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
pizza-rat
Posts: 91
Joined: 2023-05-16 21:38
Has thanked: 39 times
Been thanked: 21 times

[Software] Some flatpaks ignore overrides

#1 Post by pizza-rat »

I've been trying to get Nicotine+ running on Debian lately, and flatpak seems to be the most convenient option for it. However, by default the Nicotine+ flatpak has full access to everything in my home directory, which I don't want. So, I:

Code: Select all

sudo flatpak override --nofilesystem=host org.nicotine_plus.Nicotine
And restart Nicotine+. I go to select my directories within Nicotine's settings again and what the hell, it can still see everything in my home directory. I've had this problem with a few other flatpaks as well.

Am I missing something here?

Random_Troll
Posts: 444
Joined: 2023-02-07 13:35
Been thanked: 105 times

Re: [Software] Some flatpaks ignore overrides

#2 Post by Random_Troll »

Perhaps try

Code: Select all

sudo flatpak override --nofilesystem=host:reset org.nicotine_plus.Nicotine
The reset directive clears any extant filesystem scopes from the configuration.

If it doesn't work check the overrides with

Code: Select all

flatpak override --show org.nicotine_plus.Nicotine
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.

pizza-rat
Posts: 91
Joined: 2023-05-16 21:38
Has thanked: 39 times
Been thanked: 21 times

Re: [Software] Some flatpaks ignore overrides

#3 Post by pizza-rat »

Random_Troll wrote: 2023-05-31 14:24

Code: Select all

sudo flatpak override --nofilesystem=host:reset org.nicotine_plus.Nicotine
Alright, I reset my overrides and then tried that command. No dice, it still has full access as soon as I open the file browser through it.

Here's the output of --show-permissions (after the above command) if that's of use any use:

Code: Select all

flatpak info --show-permissions org.nicotine_plus.Nicotine
[Context]
shared=network;ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
filesystems=

[Session Bus Policy]
org.kde.StatusNotifierWatcher=talk
org.freedesktop.Notifications=talk
org.mpris.MediaPlayer2.*=talk

Random_Troll
Posts: 444
Joined: 2023-02-07 13:35
Been thanked: 105 times

Re: [Software] Some flatpaks ignore overrides

#4 Post by Random_Troll »

How about the override status? My requested command should show any overrides in the application configuration. Why didn't you post that?
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.

pizza-rat
Posts: 91
Joined: 2023-05-16 21:38
Has thanked: 39 times
Been thanked: 21 times

Re: [Software] Some flatpaks ignore overrides

#5 Post by pizza-rat »

Random_Troll wrote: 2023-06-01 04:45 How about the override status? My requested command should show any overrides in the application configuration. Why didn't you post that?
Because I did a reset of the overrides and then just did the nofilesystem ones so I figured show-permissions itself would give more useful information. Here's the output of your command anyway:

Code: Select all

flatpak override --show org.nicotine_plus.Nicotine
[Context]
filesystems=!host:reset;!host;

Post Reply