file mode

The set of permission bits stored with each file that says what the owner, the group and everyone else may do with it.

In more detail

It has three classes (owner, group, other) of three bits each (read, write, execute), plus three special bits: setuid, setgid and sticky. ls -l shows it symbolically, such as -rw-r-----, and chmod accepts it in octal, such as 640. What each bit means depends on whether the object is a file or a directory.

Related terms

Taught in

References