News for hackers. Stuff that matters.
Re:Flatpak 1.0 Released, Ready for Prime Time by cpburns2009 on Monday August 20, 2018 @10:08AM (#17799975)
Snap needs to fix their non-standard directory placement. They ignore the FHS [1] by creating /snap at the root level. And they ignore XDG [2] by persistently creating ~/snap in your home directory. I've heard Flatpak is better in this regard.

I'm sure it could help with application delivery so long as it's constrained to that. I don't want half of my standard libraries or utilities suddenly becoming sandboxed. For full blown applications sandboxing would be welcomed.

[1]: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html

[2]: https://specifications.freedesktop.org/basedir-spec/basedir-...

Re:Flatpak 1.0 Released, Ready for Prime Time by lathiat on Monday August 20, 2018 @10:17AM (#17800062)
Flatpak uses /app so I’m not sure how it’s really “better”

Problem is they both need to create an area with a full separate file system which doesn’t really fit in with the FHS.

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
Re:Flatpak 1.0 Released, Ready for Prime Time by akerro on Monday August 20, 2018 @10:16AM (#17800046)
They just create ~/.var if you install program for single user, if as root it goes somewhere to /usr/share
Re:Flatpak 1.0 Released, Ready for Prime Time by Thaxll on Monday August 20, 2018 @10:13AM (#17800020)
Does it matters?
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @10:33AM (#17800203)
Do standards matter?

Yes.

Re:Flatpak 1.0 Released, Ready for Prime Time by moocowtruck on Monday August 20, 2018 @02:53PM (#17802728)
depends if they are holding back a better future, then no