I installed some flatpaks from flathub that are no longer maintained. I want to use flatpak mask to prevent them from updating in the future for whatever reason. I installed these flatpaks without sudo. When I mask them, should I use sudo flatpak mask or just flatpak mask? I believe on Fedora when installing the flatpaks without sudo, they still get installed system wide, right? So does the mask command also not require sudo to be applied system wide?
That’s correct, the flatpak install command defaults to system-wide installation, unless overridden with the --user flag.
However, the flatpak mask command requires elevated privileges, so if you run it without sudo, you’ll get prompted to authenticate via GUI.
1 Like