Chmod Calculator
Convert between symbolic and numeric file permissions
755
rwxr-xr-x
Command
chmod 755 filename
777
Full access
755
Standard exec
644
Standard file
600
Private file
700
Private exec
666
Read/write all
444
Read only
400
Owner read
Frequently Asked Questions
What is chmod?
Unix/Linux command setting file permissions: read (r), write (w), execute (x).
What does 755 mean?
Owner: full access (7=rwx), group: read+execute (5=r-x), others: read+execute (5=r-x).
Files vs directories?
Files: 644 (owner write, all read). Directories: 755 (owner full, all read+execute).
What is the difference between chmod 755 and chmod 777?
chmod 755 gives the owner full access and others read+execute only. chmod 777 gives everyone full read, write, and execute access, which is a security risk and should almost never be used on servers.
What chmod permission should I use for website files and folders?
Use 644 for files (owner read+write, others read-only) and 755 for directories (owner full access, others read+execute). Never use 777 in production. Writable upload directories can use 775.
About File Permissions
In Unix/Linux systems, file permissions control who can read, write, or execute files.
Permission Values:
4 = Read (r), 2 = Write (w), 1 = Execute (x)
Common Examples:
755 - Owner can do everything; others can read/execute (typical for scripts)
644 - Owner can read/write; others can only read (typical for files)
600 - Only owner can read/write (private files like SSH keys)