alecsargent@lemmy.zip to linuxmemes@lemmy.world · 1 day agoIt's all about those little file mode bitslemmy.zipexternal-linkmessage-square47linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkIt's all about those little file mode bitslemmy.zipalecsargent@lemmy.zip to linuxmemes@lemmy.world · 1 day agomessage-square47linkfedilinkfile-text
minus-squareEphera@lemmy.mllinkfedilinkarrow-up0·1 day agoYeah, not only does +x leave read/write permissions untouched, it also only makes it executable for the user, not for everyone and their cat.
minus-squareMr.Chewy@lemmy.worldlinkfedilinkarrow-up0·1 day agoCat doesn’t execute anything tho, it just reads and gives output
minus-squareNominatedNemesis@reddthat.comlinkfedilinkarrow-up0·18 hours agoExcept if you use kitty terminal emulator with unsecure remote access. Issue Then with cat, you could execute arbitrary commands…
minus-squareSaharaMaleikuhm@feddit.orglinkfedilinkarrow-up0·24 hours agoThe cat command executes the cat program.
minus-squarequantumvoid0@programming.devlinkfedilinkEnglisharrow-up0·20 hours agoWhat happens when u try to cat the cat program, is that considered reading or executing
minus-squareNominatedNemesis@reddthat.comlinkfedilinkarrow-up0·18 hours agoBoth, they are not mutually exclusive.
Yeah, not only does
+xleave read/write permissions untouched, it also only makes it executable for the user, not for everyone and their cat.Cat doesn’t execute anything tho, it just reads and gives output
Except if you use kitty terminal emulator with unsecure remote access. Issue
Then with cat, you could execute arbitrary commands…
The cat command executes the cat program.
What happens when u try to cat the cat program, is that considered reading or executing
Both, they are not mutually exclusive.