Chmod Calculator

A chmod mode is twelve bits: setuid, setgid and sticky in the leading digit, then read, write and execute for the owner, the group and everyone else. Enter an octal mode, paste an rwx string from a long listing, or tick the boxes, and you get the other forms, the chmod command and what each class is actually allowed to do. A fourth action takes a umask and shows the modes that new files and new directories end up with. Every result distinguishes a file from a directory, because r, w and x do not mean the same thing on the two.

Calculator Type
Three digits such as 755, or four with the special bits such as 1777 or 4755.
Widget
Nine characters such as rwxr-xr-x, or ten from a long listing such as drwxrwxrwt. s, S, t and T carry the special bits.
Widget
Widget
Three or four octal digits, as printed by the umask command.
Widget