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