this post was submitted on 01 Aug 2024
481 points (97.1% liked)

Technology

58123 readers
4093 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] TheGrandNagus 1 points 1 month ago (1 children)

We-ell, this thread kinda started with saying that we'll see glaring security holes with the same desktop popularity as that of Windows.

Yeah, like windows did, for a long time, and from time to time still does.

Well, then it doesn't require flatpaks and snaps to solve this huge problem, right?

It pretty much does, yes.

Well, since you've mentioned accessibility [...]

Ok. Not to do with security. Let's not get sidetracked.

Ok I'm not sure, but I think OpenBSD and NetBSD don't run any scripts contained inside packages. They are not Linux ofc

I'm not sure about the BSDs, but I'm talking about Linux. And as it stands, the package installation step is a risky process in any distro I've ever seen. You just have to rely that no mistake will ever be made by packagers, nothing will slip past them, and that they manually and thoroughly look through every installation process of every package (which they don't).

It's an unnecessary risk that gets solved by Flatpak (plus a bunch of other security advantages)

Yes, you can do that. You can set aliases which will look like whatever at all. How do you solve that "problem"?

I don't know, I'm not a security expert. But it is a problem, and a massive one.

[–] rottingleaf 0 points 1 month ago (1 children)

It pretty much does, yes.

It’s an unnecessary risk that gets solved by Flatpak (plus a bunch of other security advantages)

... Or Nix/Guix, or any per-user approach to package installation, or AppImages.

Anyway, I'm not against them completely. For distributing some user applications, and maybe proprietary stuff, they are fine.

And as it stands, the package installation step is a risky process in any distro I’ve ever seen. You just have to rely that no mistake will ever be made by packagers, nothing will slip past them, and that they manually and thoroughly look through every installation process of every package (which they don’t).

We-ell, in basic Unix-like terms you can just do a chroot while unpacking, check that no nasty places are being touched, and then rsync to root. I think some PMs already do just that.

I don’t know, I’m not a security expert. But it is a problem, and a massive one.

This problem seems inherent to anything Turing-complete.

[–] TheGrandNagus 1 points 1 month ago (1 children)

Nix is not simple, and it always seems to fuck up. AppImages have zero security advantages, they're awful. It doesn't even have sandboxing.

We-ell, in basic Unix-like terms you can just do a chroot while unpacking, check that no nasty places are being touched, and then rsync to root. I think some PMs already do just that.

Lmao. Not only would that not even be effective, but that's also a ludicrous suggestion for the average user to do for every app they install. What an absurd suggestion.

Why are you so against having a secure system?

[–] rottingleaf 1 points 1 month ago

but that’s also a ludicrous suggestion for the average user to do for every app they install

I dunno what you're on, I'm talking about the PM doing this.

Why are you so against having a secure system?

I'm against believing in the concept of actually having a secure system.