Skip to content
Kwikdo

chmod 755 explained

What chmod 755 means: the owner can read, write and run; everyone else can read and run. With the rwxr-xr-x form.

In your browser

ReadWriteExecute
Owner
Group
Everyone else

Symbolic

Command

About this tool

chmod 755 (rwxr-xr-x) lets the owner read, write and execute, and lets the group and everyone else read and execute. It’s the usual setting for directories and scripts on web servers.

How to use it

  1. 1 Review the permissions granted: Owner (rwx), Group (r-x), Others (r-x).
  2. 2 Copy the command chmod 755 filename or apply it recursively with -R.

Questions

When should I use chmod 755?

Use 755 for directories on web servers so the web server process and visitors can navigate into folders, and for executable scripts (like bash, Python, or CGI scripts) that need to run.

What is the symbolic representation of 755?

In symbolic notation, chmod 755 is written as -rwxr-xr-x (or drwxr-xr-x for directories).

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.