# Octal Permissions

*noun*

say it: **“OK-tul per-MISH-unz”** **/ˈɑktəl pərˈmɪʃənz/**

A way of writing a file's permissions as three digits, one each for the owner, the group and everyone else, where read is 4, write 2 and run 1.

## What are **octal permissions**?

**Octal permissions** write a file's permissions as three digits for `chmod`: one for the owner, one for the group and one for everyone else. Each digit adds up what that set may do: read is 4, write is 2 and run is 1. So `7` (4 + 2 + 1) is everything, `5` (4 + 1) is read and run, `6` is read and write, and `0` is nothing. `755` suits a program you share, `644` a document and `600` a private file.

```bash
chmod 755 kettle-bot   # rwxr-xr-x
chmod 644 notes.txt    # rw-r--r--
chmod 600 diary.txt    # rw-------
```

## In a sentence

- “In **octal permissions**, 600 means only the owner may read and write the file, and nobody else may do anything.”
- “Sam worked out the **octal permissions** for rwxr-xr-x: 4 + 2 + 1 is 7, and 4 + 1 is 5, so 755.”

Level: Apprentice · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=2)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/octal-permissions
