Skip to content
Kwikdo

chmod 644 explained

What chmod 644 means: the owner can read and write; everyone else can only read. The standard for web files (rw-r--r--).

In your browser

ReadWriteExecute
Owner
Group
Everyone else

Symbolic

Command

About this tool

chmod 644 (rw-r--r--) lets the owner read and write, and everyone else only read. It’s the standard permission for normal files such as HTML, images and config on a web server.

How to use it

  1. 1 Review the permissions granted: Owner (rw-), Group (r--), Others (r--).
  2. 2 Copy the command chmod 644 filename to set secure file permissions.

Questions

Why is chmod 644 the standard for web files?

It allows your web server (Nginx/Apache) to read and display HTML, CSS, images, and documents publicly without allowing unauthorized users to alter or execute them.

How do I set chmod 644 for all files in a folder?

In your terminal, run: find . -type f -exec chmod 644 {} \; to safely change only regular files without breaking directory access.

What do the numbers in chmod 755 mean?

Each digit represents permissions for Owner (7), Group (5), and Others (5). 7 = Read (4) + Write (2) + Execute (1); 5 = Read (4) + Execute (1). This allows the owner full control while others can only read and run the file.

What permissions should web server files have?

Best security practice on Linux web servers (Nginx/Apache) is chmod 644 for regular files (HTML, PHP, images) and chmod 755 for directories, allowing the server to enter directories and serve files safely.

Why is chmod 777 dangerous?

chmod 777 grants every user on the system permission to read, modify, overwrite, and execute the file. On shared hosting or public servers, this exposes your files to tampering, malicious code injection, and security breaches.

Is my data uploaded?

No. This tool runs in your browser, so your text and files never reach our server.

Is this tool free?

Yes. It’s free to use with no sign-up and no limits for normal use.