Announce: Flatpak 1.6.2 released

Alexander Larsson alexander.larsson at gmail.com
Thu Feb 13 17:33:27 UTC 2020


Hmm, i think you can sudo su. The main issue is that you want to run
with a "login shell" as the root users. I.e. $HOME is /root (or
whatever) rather than just happening to be uid 0 with your regular
user env var setup.

On Thu, Feb 13, 2020 at 6:26 PM Richard Hughes <hughsient at gmail.com> wrote:
>
> On Thu, 13 Feb 2020 at 17:16, Alexander Larsson
> <alexander.larsson at gmail.com> wrote:
> > Its fine to run it as real root. But with sudo there are risks that
> > stuff it does writes things owned as root to your users homedir which
> > can cause permissions issues later.
>
> I guess I need to write some release notes about how to switch to the
> root user, adding a password if not already set. e.g.
>
> sudo passwd
> su -l root -c "flatpak run org.freedesktop.fwupd get-devices"
>
> Other ideas welcome.
>
> Richard.


More information about the Flatpak mailing list