Pricing Docs Blog Apps Tools Get Started

Chmod Calculator

Set Linux file permissions visually. Toggle checkboxes, get the chmod command instantly.

Read
Write
Execute
Owner
Group
Public
Numeric
755
Symbolic
rwxr-xr-x
$ chmod 755 filename
Common permissions

How Linux file permissions work

Every file and directory on Linux has three permission groups: Owner, Group, and Public (others). Each group can have read (r), write (w), and execute (x) permissions.

Understanding octal notation

Each permission has a numeric value: read = 4, write = 2, execute = 1. Add them together for each group:

7 = 4+2+1 (rwx)   5 = 4+0+1 (r-x)   4 = 4+0+0 (r--)

So chmod 755 means: owner can read+write+execute (7), group and public can read+execute (5).

Common chmod values

chmod on a real server

When you deploy to a server, getting permissions right matters. Wrong permissions on SSH keys block login. Wrong permissions on web files block your site.

Skip the server setup InstaPods configures permissions, nginx, and SSL for you. Just deploy.
Try InstaPods — $3/mo