Linux Chmod Calculator
Interactively calculate Linux file permissions. Toggle Read, Write, and Execute options for Owner, Group, and Public to get octal and symbolic values.
| Role | Read (4) | Write (2) | Execute (1) |
|---|---|---|---|
| Owner (User) | |||
| Group | |||
| Public (Others) |
Understanding Linux File Permissions
In Linux and Unix file systems, security permissions are defined using three numeric values corresponding to three scopes: Owner (User), Group, and Others (Public).
Each scope is calculated by adding the numeric values of enabled permissions:
- Read (r) = 4: Grants permission to read file contents or list directory files.
- Write (w) = 2: Grants permission to edit or delete file contents.
- Execute (x) = 1: Grants permission to run file as a shell script or enter directory.