File Permissions (chmod rwx) Playground

The Warnet Desa’s locked cabinets: every file has three doors (owner, group, others) with r w x lights. Pick who tries, change the mode with chmod: which door…

Why it matters

"Permission denied", a script that will not run, an SSH key refused, chmod 777 "to make it work": all from misreading three classes and three bits. Once you know the kernel looks at one class only, and what x means on a folder, chmod stops being a spell.

The key idea

The kernel looks at one class only

Common mistakes

Try it in this playground