Re:Flatpak 1.0 Released, Ready for Prime Time
by vetinari on Monday August 20, 2018 @11:17AM
(#17800657)
For flatpak, the installed apps go to /var/lib/flatpak for system-wide, ~/.local/share/flatpak for user-specific.
Then there's the question of app-created data, that would normally go into some dot-directory. Flatpak by default redirects all XDG dirs into ~/.var/app/${appid}, but as a part of the required permissions, the apps can request access to the user homedir or specific subfolders.
Some apps abuse it. Yes, I do mind, when an app liters into ~/Documents/. I'm looking at you, Viber.
Re:Flatpak 1.0 Released, Ready for Prime Time
by cpburns2009 on Monday August 20, 2018 @10:25AM
(#17800133)
An /app isn't any better. If they insist on having a fully realized file-system, they can put it under /opt. Or, they could use symlinks to construct it under /run/{app,snap} similar to a chroot setup.
Re:Flatpak 1.0 Released, Ready for Prime Time
by vetinari on Monday August 20, 2018 @11:20AM
(#17800670)
/app is not visible on the host system, only inside the container. It is chroot on steroids.
Re:Flatpak 1.0 Released, Ready for Prime Time
by cpburns2009 on Monday August 20, 2018 @01:46PM
(#17802042)
I don't mind that behavior.
Re:Flatpak 1.0 Released, Ready for Prime Time
by alexlarsson on Monday August 20, 2018 @10:27AM
(#17800154)
/app is never visible on the host though
Problem is they both need to create an area with a full separate file system which doesn’t really fit in with the FHS.