On Wed, 2019-10-30 at 18:40 +0100, Chris Murphy wrote:
On Wed, Oct 30, 2019 at 2:37 PM Michal Konecny
<mkonecny(a)redhat.com>
wrote:
>
>
> On 2019-10-30 11:29, Chris Murphy wrote:
> > On Wed, Oct 30, 2019 at 10:33 AM Michal Konecny <
> > mkonecny(a)redhat.com> wrote:
> > > I recently hit something similar on Silverblue. I installed
> > > Silverblue when F28 was available and installing flatpaks
> > > without the --user flag.
> > I'm pretty sure the default is --user since before Fedora 28.
> > Very
> > early on the default was --system.
> This is strange, I installed most of my flatpaks through GNOME
> Software
> and all of them are in
> /sysroot/ostree/deploy/fedora-workstation/var/lib/flatpak, which I
> suppose looks like --system flag.
OK, lovely, so I'm confused. On my cleanly installed Fedora 31
Workstation system, I'm seeing what you're seeing. Flatpaks installed
via GNOME Software are in /var/lib/flatpak which is consistent with
flatpak --system installation.
So it would seem, GNOME Software defaults to --system, whereas the
flatpak CLI defaults to --user.
The flatpak CLI also defaults to --system.
$ flatpak install --help
[…]
--user Work on the user installation
--system Work on the system-wide installation (default)
[…]
--
Mathieu