alecsargent@lemmy.zip to linuxmemes@lemmy.world · 2 days agoIt's all about those little file mode bitslemmy.zipexternal-linkmessage-square50linkfedilinkarrow-up1227arrow-down119file-text
arrow-up1208arrow-down1external-linkIt's all about those little file mode bitslemmy.zipalecsargent@lemmy.zip to linuxmemes@lemmy.world · 2 days agomessage-square50linkfedilinkfile-text
minus-squareNyadia@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up11·1 day agoI don’t use chmod nearly often enough to remember these numbers. I know there’s a mathematical way to figure it out, but I cba to do that when u+wrx more or less tells me exactly what it does (grant the User Write, Read, and eXecute permissions)
minus-squaretimbuck2themoon@sh.itjust.workslinkfedilinkEnglisharrow-up3·13 hours ago4 read, 2 write, 1 execute. That’s it. Add them up for whatever you want.
minus-squarenaevaTheRat@lemmy.dbzer0.comlinkfedilinkarrow-up1·18 minutes agoand digits are sticky, owner, group, all
I don’t use chmod nearly often enough to remember these numbers. I know there’s a mathematical way to figure it out, but I cba to do that when u+wrx more or less tells me exactly what it does (grant the User Write, Read, and eXecute permissions)
4 read, 2 write, 1 execute.
That’s it. Add them up for whatever you want.
and digits are sticky, owner, group, all