Bölüm 13 · SimülatörPermissions Lab? ← Bölüm 13 File Directory Read Write Execute As Owner Group Other umask Matrix Owner Group User In groups Mode 644 755 600 044 4755 1777 Speed 2/sOctalchmod 644 file.txtumask new file / directory modes 022 027 033 077File: 666 & ~umaskApplyDirectory: 777 & ~umaskApply Mode 0644 Class – Needs – Result – Step 0/0 ClosePermissions LabHow a Unix kernel decides whether a user may read, write or execute a file or directory: the mode bits (rwx for owner, group and others, plus setuid, setgid and sticky) and the first-match access check, shown step by step as a flowchart.How to usePick the object type (File / Directory) and the operation; As fills in a user who is the owner, a group member or an unrelated user.Edit owner, file group, requesting user and the user's groups (comma-separated) directly.Toggle bits in the grid, type an octal mode, or choose a Mode preset. Every change replays the check; step through it with the playback buttons.umask opens the umask calculator (new file and directory modes; Apply loads a result into the grid). Matrix shows who may do what for every class.RulesFirst matchOwner? use owner bits. Else in group? group bits. Else others.r w x4 + 2 + 1 per class digit.Dir rList names.Dir wCreate, delete, rename entries; needs w and x.Dir xSearch / traverse (cd, reach files by name).setuid4xxx: run with the owner's ID (s/S in owner x).setgid2xxx: run with the group; dirs pass on their group.sticky1xxx: in a dir, delete only your own files (t/T).umaskBits removed from 666 / 777 (mask, not subtraction).ScopeOrdinary users only: no root, ACLs or parent-path checks.Legend class used needed bit set needed bit missing ✓ allowed✗ deniedKeys←→ stepSpace replayHomeEnd first / lastEsc close