FM Field Manual smhansen.dev

FM 9-02 Chapter 9 · Web and developer

chmod calculator

Unix permissions between checkboxes, octal (4755), symbolic (-rwsr-xr-x) and chmod forms, plus umask.

Local only Runs in your browser. Nothing you enter leaves this page.

Usable as a step in Chain
Type
Permission bits
ClassReadWriteExecuteSpecialDigit
Owner7
Group5
Other5
Octal
755
Symbolic
-rwxr-xr-x
chmod numeric
chmod 755 file
chmod symbolic
chmod u=rwx,g=rx,o=rx file
  • Owner: read, write, execute
  • Group: read, execute
  • Others: read, execute

Apply a chmod expression

Who: u owner, g group, o other, a all. Op: + add, - remove, = set exactly. Perms: r w x, X (execute only for directories or if someone already has execute), s setuid or setgid, t sticky. Without a who letter, real chmod also masks the change with your umask.

umask

New files (0666 minus umask)
0644 -rw-r--r--
New directories (0777 minus umask)
0755 drwxr-xr-x

The umask removes bits, it does not subtract: 0666 with umask 0033 gives 0644, not 0633. Programs may ask for fewer bits than 0666 or 0777 to begin with.

  • No entry in this manual matches “”.

↑ ↓ move · Enter open · Esc close