• Rustmilian
    link
    English
    26
    edit-2
    1 year ago

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

    • LiveLM
      link
      fedilink
      English
      331 year ago

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

      • Rustmilian
        link
        English
        31 year ago

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

      • Rustmilian
        link
        English
        2
        edit-2
        1 year ago

        All archive formats do it, afaik.

        • @[email protected]
          link
          fedilink
          11 year ago

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

          • Rustmilian
            link
            English
            2
            edit-2
            1 year 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.