🔐
🌐
Correct File Permissions for Web Servers
Set the right permissions for web files and folders on Apache/Nginx servers.
ບໍ່ຈໍາເປັນຕ້ອງເຂົ້າສູ່ລະບົບ
| Read | Write | Execute | Value | |
|---|---|---|---|---|
| owner | 7 | |||
| group | 5 | |||
| other | 5 |
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.
ມັນເຮັດວຽກແນວໃດ
1
ເຂົ້າ
Enter your data into the tool above. Everything stays local to your browser.
2
ຂະບວນການ
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
ດາວໂຫຼດ
Get your result instantly. Nothing is stored after you leave the page — complete privacy.
ເປັນຫຍັງຕ້ອງໃຊ້ຂອງພວກເຮົາ?
✓ບໍ່ເສຍຄ່າຢ່າງສົມບູນ - ບໍ່ມີຄ່າໃຊ້ຈ່າຍທີ່ເຊື່ອງໄວ້, ເຄີຍ
✓ບໍ່ມີບັນຊີ, ອີເມວ, ຫຼືເຂົ້າສູ່ລະບົບ
✓ໄຟລ໌ບໍ່ເຄີຍອອກຈາກອຸປະກອນຂອງທ່ານ
✓ບໍ່ມີຂອບເຂດຈໍາກັດຂະຫນາດໄຟລ໌ໃດໆ
✓ບໍ່ມີ watermarks ໃນຜົນຜະລິດໃດໆ
Also check out…
🔑📜🐧🐳
Set SSH Key Permissions
SSH refuses keys with loose permissions. Get the e
Make Shell Scripts Executable
Get the chmod command to make a script runnable wh
Learn Linux File Permissions
Understand how octal and symbolic Unix permissions
File Permissions in Docker Images
Set correct permissions for files copied into Dock
