this post was submitted on 06 Nov 2023
523 points (94.5% liked)

Linux

46750 readers
2866 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 139 points 9 months ago (5 children)

What if your app actually needs access to the internet?

[–] [email protected] 160 points 9 months ago (4 children)

Or actually do anything useful? No network, no filesystem.. it's a hello world app isn't it..

[–] [email protected] 121 points 9 months ago (2 children)

No filesystem access for a flatpak app just means it cant read host system files on its own, without user permission. You can still give it files or directories of files through the file explorer for the app to work with, just that it's much safer since it can only otherwise view files in its sandbox.

[–] [email protected] 4 points 9 months ago (2 children)

Which is fine for some apps, try that with an IDE.

[–] [email protected] 17 points 9 months ago

Why does an IDE need unfettered access to my whole FS? Access to the project directory, and maybe the runtime directory, have to be enough.

[–] [email protected] 8 points 9 months ago

To be fair, the title says more apps, not all apps..

[–] [email protected] 38 points 9 months ago* (last edited 9 months ago)

There are portals: https://docs.flatpak.org/en/latest/desktop-integration.html#portals . they allow secure access to many features. Also any flatpak app still has access to a private app-specific filesystem, just not to the host.

Doesn't work for all applications but for many sand boxing is possible without a loss of features.

[–] [email protected] 23 points 9 months ago

There's Obfuscate, an image redactor, and Metadata Cleaner which is self-descriptive. Both works properly without any filesystem access at all, because they use the file picker portal to ask the user for the files to be processed.

[–] [email protected] 22 points 9 months ago
[–] [email protected] 34 points 9 months ago (1 children)

Oh come on, what modern program actually needs to communicate or access the file system?

[–] [email protected] 49 points 9 months ago (2 children)

Exactly all programs should be web based cloud subscription only. We don't want that filthy code on our rgb nvme drives

[–] [email protected] 12 points 9 months ago

Lol, sorry no network access either.

[–] taladar 8 points 9 months ago (1 children)

Wouldn't want the gaping security hole open that is hypnotizing the user via RGB control.

[–] [email protected] 4 points 9 months ago

BRB, modulating my RGB to send data...

[–] [email protected] 23 points 9 months ago

The app can then declare the network permission and it will still be marked as safe.

[–] [email protected] 22 points 9 months ago (2 children)

Download the internet along with it!

[–] [email protected] 35 points 9 months ago (2 children)

I'm self-hosting the entire internet. I hope you guys are enjoying yourselves.

[–] [email protected] 17 points 9 months ago (2 children)
[–] [email protected] 6 points 9 months ago

That's super cool. I bookmarked it. Thanks!

[–] [email protected] 6 points 9 months ago (1 children)

Thanks for having us on your server... when can I get out again though?

[–] [email protected] 7 points 9 months ago (1 children)

I just unplugged you. Give it a minute or two and no more pain.

[–] [email protected] 2 points 9 months ago

Thank you, good... bye

[–] [email protected] 7 points 9 months ago* (last edited 9 months ago)

I remember in 1995-ish or something when I used the internet for the first time using the Netscape browser.... And I was asking a friend if he had tried all the web sites yet. Just got a weird look back.... :) I didn't know what the internet was back then at first.