You are viewing a single thread.
View all comments
31 points

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

permalink
report
reply
27 points
*

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

permalink
report
parent
reply
2 points
*

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

permalink
report
parent
reply
2 points
*

All archive formats do it, afaik.

permalink
report
parent
reply
3 points

Ah, right

permalink
report
parent
reply
35 points

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

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
29 points

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.

permalink
report
parent
reply
11 points

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

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 8K

    Monthly active users

  • 6.4K

    Posts

  • 175K

    Comments