alecsargent@lemmy.zip to linuxmemes@lemmy.world · edit-22 days agoIt's all about those little file mode bitslemmy.zipexternal-linkmessage-square71fedilinkarrow-up1258arrow-down121file-text
arrow-up1237arrow-down1external-linkIt's all about those little file mode bitslemmy.zipalecsargent@lemmy.zip to linuxmemes@lemmy.world · edit-22 days agomessage-square71fedilinkfile-text
minus-squareNyadia@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up11·2 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-up6·18 hours ago4 read, 2 write, 1 execute. That’s it. Add them up for whatever you want.
minus-squarenaevaTheRat@lemmy.dbzer0.comlinkfedilinkarrow-up2·5 hours 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