Click any pattern to load it into the Sandbox.
Special permission bits (advanced)
4xxx
setuid — when set on an executable, the program runs as the file's owner instead of the user who ran it. Example: passwd runs as root so it can update /etc/shadow.
2xxx
setgid — on a directory, new files inherit the directory's group instead of the creator's. On an executable, runs as the file's group.
1xxx
sticky bit — on a directory, only the file's owner can delete files inside. Used on /tmp so users can't delete each other's temp files.
Windows is different
Windows NTFS uses Access Control Lists (ACLs) instead of rwx triples. Each file has a list of permissions per user or group: Read, Write, Read & Execute, Modify, Full Control. Permissions can be inherited from the parent folder. There's no octal — you set permissions in Properties → Security or with icacls.