kurumin@linux.community to Linux@lemmy.mlEnglish · 11 months agoLazarus hackers now push Linux malware via fake job offerswww.bleepingcomputer.comexternal-linkmessage-square30fedilinkarrow-up1187arrow-down14cross-posted to: [email protected][email protected]
arrow-up1183arrow-down1external-linkLazarus hackers now push Linux malware via fake job offerswww.bleepingcomputer.comkurumin@linux.community to Linux@lemmy.mlEnglish · 11 months agomessage-square30fedilinkcross-posted to: [email protected][email protected]
minus-squareRustmilian@lemmy.worldlinkfedilinkEnglisharrow-up27·edit-211 months agoNo because the zip archive retains permissions of the contained files.
minus-squareLiveLMlinkfedilinkEnglisharrow-up36·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.
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.