SamNet • Tools

Chmod Calculator

755
rwxr-xr-x
chmod 755 filename

Permissions

Read (4)
Write (2)
Execute (1)
Owner
Group
Others

Common Presets

How to Use

Click checkboxes to set permissions for owner, group, and others. The octal number and symbolic notation update in real time. You can also type an octal number directly in the input fields. Click “Copy” to copy the chmod command.

Understanding Linux Permissions

Every file and directory in Linux has three permission levels: Owner (the file creator), Group (users in the file's group), and Others (everyone else). Each level can have Read (view contents), Write (modify), and Execute (run/enter directory) permissions.

Octal Reference

0---No permissions
1--xExecute only
2-w-Write only
3-wxWrite + Execute
4r--Read only
5r-xRead + Execute
6rw-Read + Write
7rwxRead + Write + Execute

Common Chmod Commands

chmod 755 fileOwner: full, Group/Others: read+execute (typical for scripts/dirs)
chmod 644 fileOwner: read+write, Group/Others: read (typical for files)
chmod 600 fileOwner: read+write, no access for others (private)
chmod 400 keyOwner: read only (SSH private keys)
chmod -R 755 dir/Apply recursively to directory and contents
Back to Tools