kurumin@linux.community to Linux@lemmy.mlEnglish · 10 months agoLazarus hackers now push Linux malware via fake job offerswww.bleepingcomputer.comexternal-linkmessage-square31fedilinkarrow-up1173arrow-down14cross-posted to: linux@sopuli.xyzlinux@feddit.de
arrow-up1169arrow-down1external-linkLazarus hackers now push Linux malware via fake job offerswww.bleepingcomputer.comkurumin@linux.community to Linux@lemmy.mlEnglish · 10 months agomessage-square31fedilinkcross-posted to: linux@sopuli.xyzlinux@feddit.de
minus-squareRustmilian@lemmy.worldlinkfedilinkEnglisharrow-up26·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.