WikiPlus

Octal Numbers and Unix File Permissions: A Complete Guide

Octal — base 8 — has one dominant use in modern computing: Unix file permissions. The `chmod` command uses octal notation to set read, write, and execute permissions for owner, group, and others on Linux and macOS systems. Understanding how octal represents permissions, and how to convert between octal, binary, and decimal, is essential knowledge for anyone working with Unix-like systems. WikiPlus Number Base Converter at wikiplus.co shows octal, binary, decimal, and hexadecimal representations simultaneously, making the permission bit patterns immediately visible. It runs entirely in your browser with no data uploaded to a server.

How Unix Permissions Use Octal Notation

Common chmod Permission Values Decoded

Converting Between ls -l Output and Octal

Octal in Python and Other Programming Languages

Frequently Asked Questions