alecsargent@lemmy.zip to linuxmemes@lemmy.world · edit-22 days agoIt's all about those little file mode bitslemmy.zipexternal-linkmessage-square63fedilinkarrow-up1226file-text
arrow-up1226external-linkIt's all about those little file mode bitslemmy.zipalecsargent@lemmy.zip to linuxmemes@lemmy.world · edit-22 days agomessage-square63fedilinkfile-text
minus-squareEphera@lemmy.mllinkfedilinkarrow-up48·2 days 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-up18·1 day agoCat doesn’t execute anything tho, it just reads and gives output
minus-squareNominatedNemesis@reddthat.comlinkfedilinkarrow-up3·edit-224 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-up7·1 day agoThe cat command executes the cat program.
minus-squarequantumvoid0@programming.devlinkfedilinkEnglisharrow-up3·1 day agoWhat happens when u try to cat the cat program, is that considered reading or executing
minus-squareNominatedNemesis@reddthat.comlinkfedilinkarrow-up3·24 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.