this post was submitted on 21 Jan 2024
181 points (97.9% liked)

Linux

48310 readers
645 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
[–] BCsven@lemmy.ca 30 points 10 months ago (2 children)

So doesn't the user have to add +x to run this?

[–] leopold@lemmy.kde.social 29 points 10 months ago (1 children)

It never occurred to me before reading this comment that there actually is a use case for the execute permission. To me it was always just this annoying thing I have to do whenever I download an executable which I didn't have to do on Windows.

[–] AProfessional@lemmy.world 11 points 10 months ago

Fun fact, Windows has the same permission it just defaults to enabled.

[–] Rustmilian@lemmy.world 26 points 10 months ago* (last edited 10 months ago) (3 children)

No because the zip archive retains permissions of the contained files.

[–] LiveLM@lemmy.zip 34 points 10 months ago (1 children)

Hm, maybe there should be an option to always disable the executable permission when extracting

[–] Rustmilian@lemmy.world 3 points 10 months ago

That's perhaps possible, but likely would have to be implemented in each achieving tools individually.

[–] BCsven@lemmy.ca 2 points 10 months ago
[–] MonkderZweite@feddit.ch 2 points 10 months ago* (last edited 10 months ago) (1 children)

Zip too? I thought only on Windows, while tar retains unix permissions.

[–] Rustmilian@lemmy.world 2 points 10 months ago* (last edited 10 months ago) (1 children)

All archive formats do it, afaik.

[–] MonkderZweite@feddit.ch 1 points 10 months ago (1 children)

But i'm sure there was an issue somewhile ago, because zip only preserves Windows permissions...

[–] Rustmilian@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

There's a bunch of zip implementations(Info-Zip, Gzip, 7-Zip, PKZip, Pigz, etc.), so perhaps an older version of one of the implementations didn't support preserving the Linux executable permission in the past.