Chmod Calculator
Calculate Linux file permissions. Convert between numeric (755) and symbolic (rwxr-xr-x) notation. Get the chmod command.
What are Unix File Permissions?
Unix/Linux file permissions control who can read, write, and execute files and directories. Permissions are assigned to three categories: the file owner, the group, and all other users. Each category can have read (r=4), write (w=2), and execute (x=1) permissions. These are commonly expressed as a three-digit octal number (like 755) or as a symbolic string (like rwxr-xr-x). Understanding permissions is essential for server administration, deployment scripts, and security hardening.
How to Calculate File Permissions
Use the interactive checkboxes to toggle read, write, and execute permissions for owner, group, and others.
See the numeric (octal) and symbolic representations update in real-time as you toggle permissions.
Copy the generated chmod command (e.g., chmod 755 filename) to use directly in your terminal.