alecsargent@lemmy.zip to linuxmemes@lemmy.world · 5 days agoIt's all about those little file mode bitslemmy.zipexternal-linkmessage-square73linkfedilinkarrow-up1274arrow-down126file-text
arrow-up1248arrow-down1external-linkIt's all about those little file mode bitslemmy.zipalecsargent@lemmy.zip to linuxmemes@lemmy.world · 5 days agomessage-square73linkfedilinkfile-text
minus-squareNyadia@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up11·4 days 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-up8·4 days ago4 read, 2 write, 1 execute. That’s it. Add them up for whatever you want.
minus-squarenaevaTheRat@lemmy.dbzer0.comlinkfedilinkarrow-up3·3 days 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