Linux Chmod Permissions Calculator

Linux Chmod Permissions Calculator

Local Processing

Calculate numeric octal (e.g. 755), symbolic notation (rwxr-xr-x), and executable terminal commands for Unix file permissions.

How It Works & Processing Standards

Calculate numeric octal (e.g. 755), symbolic notation (rwxr-xr-x), and executable terminal commands for Unix file permissions.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Maximum input length: 100,000 characters

Linux file permissions are three digits (owner, group, others), each the sum of read 4, write 2 and execute 1. Choose checkbox calculation, number → symbols or symbols → number under "Task".

What You Can Do

Checkbox calculation
Pick permissions for all three to get the number, symbols and chmod command.
Number → symbols
Turns 644 into rw-r--r--.
Symbols → number
Turns rwxr-x--- from ls -l into a number.

How to Use Linux Chmod Permissions Calculator

  1. 1
    Choose a taskCheckbox calculation, number → symbols or symbols → number.
  2. 2
    Enter permissionsPick permissions or type a number or symbols.
  3. 3
    Copy the commandCopy the result or the chmod command.

Examples

Owner 7, group 5, others 5
Input: 7 / 5 / 5
Result: 755, rwxr-xr-x, chmod 755 FILE
Number → symbols
Input: 644
Result: rw-r--r--
Symbols → number
Input: rwxr-x---
Result: 750

Common Use Cases

  • Making an uploaded script executable
  • Writing ls -l output as numeric permissions in docs
  • Setting web files to 644 and folders to 755

Frequently Asked Questions (FAQ)

Why not just use 777?

It lets every user write and execute the file, which is risky. 644 for files and 755 for folders or executables is usually enough.

Have feedback or ideas for this tool? Suggest & Inquire →