• Rustmilian@lemmy.worlddeleted by creator
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    3 years ago

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

    • LiveLM@lemmy.zip
      link
      fedilink
      English
      arrow-up
      35
      ·
      3 years ago

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

      • Rustmilian@lemmy.worlddeleted by creator
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 years ago

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

          • Rustmilian@lemmy.worlddeleted by creator
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 years 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.