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
| Read | Write | Execute | |
|---|---|---|---|
| Owner | |||
| Group | |||
| Everyone else |
Symbolic
Command
Also with the chmod calculator
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 Tick the permissions you want, or type a number such as 755.
- 2 Copy the chmod command.
Questions
What permissions should web files have?
Usually 644 for files and 755 for folders. Avoid 777.
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.
More in Code & markup
- Regex tester New Test a regular expression against your text, with matches and capture groups highlighted live.
- Cron expression parser New Explain a cron schedule in plain English and list the next times it will run.
- HTTP status codes New Look up what any HTTP status code means and when to use it.
- HTML minifier Remove comments and collapse whitespace in HTML.
- CSS minifier Remove comments and unnecessary whitespace from CSS.
- JavaScript minifier New Minify JavaScript onto one line with Terser: strips comments and spaces, shortens local names and simplifies code.