this post was submitted on 06 Oct 2023
923 points (95.9% liked)

linuxmemes

20889 readers
435 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] uis@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

You get proper permission control and a mispackaged app cannot break the entire system.

How did this come up in discussion?

Anyway. Mispackaged app may also include broken permission control.

[–] baseless_discourse@mander.xyz 1 points 1 year ago (1 children)

How did this come up in discussion?

Because permission control is what most people expect on phone application, which is another way linux has great default UX that is similar to what happens on phones.

Finally, I don't think a mispackaged app is supposed to be able to break out of the application sandbox, unless some bug is exploited.

Unless you are referring to the fact that some app are packaged with overly-permissive default permissions. But most people can change the default permission, and only grant permissions that makes sense.

[–] uis@lemmy.world 1 points 1 year ago (1 children)

Finally, I don't think a mispackaged app is supposed to be able to break out of the application sandbox, unless some bug is exploited.

At least one of mentioned formats(AppImage) is regular executable. There is no need to break out of sandboxing when maintainer didn't put it in sandbox in the first place.

Anyway, mainline distros have selinux or apparmor profiles. Sanboxing exists outside of three yet another "universal" package formats.

But most people can change the default permission, and only grant permissions that makes sense.

You mean people who package or end users?

[–] baseless_discourse@mander.xyz 1 points 1 year ago (1 children)

I mean user can manage permissions to override the default, like apps on other platforms.

[–] uis@lemmy.world 1 points 1 year ago

Basically how it is and was before mega-binaries.