kurumin to Linux@lemmy.mlEnglish · 10 months agoLazarus hackers now push Linux malware via fake job offerswww.bleepingcomputer.comexternal-linkmessage-square32fedilinkarrow-up1190cross-posted to: linux@sopuli.xyz
arrow-up1190external-linkLazarus hackers now push Linux malware via fake job offerswww.bleepingcomputer.comkurumin to Linux@lemmy.mlEnglish · 10 months agomessage-square32fedilinkcross-posted to: linux@sopuli.xyz
minus-squareRustmilian@lemmy.worldlinkfedilinkEnglisharrow-up27·edit-210 months agoNo because the zip archive retains permissions of the contained files.
minus-squareLiveLM@lemmy.ziplinkfedilinkEnglisharrow-up35·10 months agoHm, maybe there should be an option to always disable the executable permission when extracting
minus-squareRustmilian@lemmy.worldlinkfedilinkEnglisharrow-up3·10 months agoThat’s perhaps possible, but likely would have to be implemented in each achieving tools individually.
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up2·edit-210 months agoZip too? I thought only on Windows, while tar retains unix permissions.
minus-squareRustmilian@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-210 months agoAll archive formats do it, afaik.
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up1·10 months agoBut i’m sure there was an issue somewhile ago, because zip only preserves Windows permissions…
minus-squareRustmilian@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-210 months agoThere’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.
No because the zip archive retains permissions of the contained files.
Hm, maybe there should be an option to always disable the executable permission when extracting
That’s perhaps possible, but likely would have to be implemented in each achieving tools individually.
Ah, right
Zip too? I thought only on Windows, while tar retains unix permissions.
All archive formats do it, afaik.
But i’m sure there was an issue somewhile ago, because zip only preserves Windows permissions…
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.