🔐
🌐

Correct File Permissions for Web Servers

Set the right permissions for web files and folders on Apache/Nginx servers.

Không cần đăng nhập
ReadWriteExecuteValue
owner7
group5
other5
Octal (editable)
rwxr-xr-x
Symbolic
Command
$ chmod 755 filename

Common presets

Web Servers tips

🌐

Standard web setup: 644 for files, 755 for directories. Never 777 — it lets anyone write to your site, a major security hole.

💡

Config files with secrets (wp-config.php, .env) should be 640 or 600 so they're not world-readable.

🎯

Upload directories sometimes need group-write (664/775) so the web user can save files. Grant the minimum needed.

Cách hoạt động

1
Nhập liệu
Enter your data into the tool above. Everything stays local to your browser.
2
Xử lý
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Tải xuống
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

Tại sao chọn của chúng tôi?

Hoàn toàn miễn phí — không có chi phí ẩn, mãi mãi
Không cần tài khoản, email hoặc đăng nhập
Tệp không bao giờ rời khỏi thiết bị của bạn
Không có giới hạn kích thước tệp nào
Không có hình mờ trên bất kỳ đầu ra nào

Also check out…

Câu hỏi thường gặp