chmod 777 explained
What chmod 777 means and why it is risky: everyone can read, write and run the file (rwxrwxrwx).
In your browser
| Read | Write | Execute | |
|---|---|---|---|
| Owner | |||
| Group | |||
| Everyone else |
Symbolic
Command
Also with the chmod calculator
About this tool
chmod 777 (rwxrwxrwx) gives everyone full control: anyone on the system can read, change and run the file. Avoid it on servers. 755 for folders and 644 for files is almost always what you need.
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.