NexTool
ToolsConvertersBlogAI SuitePricing
HomeCheat SheetsChmod Permission Reference Cheat Sheet
developer4 sections · 24 items

Chmod Permission Reference Cheat Sheet

Linux/Unix file permission notation, common chmod values with use cases, and symbolic vs. numeric permission modes.

Permission Bits

ItemValueNotes
Read (r)4View file content / list directory
Write (w)2Modify file / add/remove in directory
Execute (x)1Run file / access directory
No permission0Represented as -
FormatOwner | Group | Otherse.g., 755 = rwxr-xr-x

Common Permission Sets

ItemValueNotes
755rwxr-xr-xStandard for directories & scripts
644rw-r--r--Standard for files (HTML, CSS, images)
700rwx------Private directory, owner only
600rw-------Private file (SSH keys, .env)
777rwxrwxrwxFull access for all — AVOID in production
664rw-rw-r--Owner & group can edit, others read
750rwxr-x---Owner full, group read/exec, others none
444r--r--r--Read-only for everyone

Symbolic Mode Commands

ItemValueNotes
Add execute for ownerchmod u+x file--
Remove write for otherschmod o-w file--
Set group read+writechmod g=rw file--
Add execute for allchmod a+x filea = all (u+g+o)
Recursive directorychmod -R 755 directory/Apply to all contents
Copy permissionschmod --reference=source targetMatch another file

Special Permissions

ItemValueNotes
Setuid (4xxx)chmod 4755 fileRuns as file owner (e.g., passwd)
Setgid (2xxx)chmod 2755 dir/New files inherit group
Sticky bit (1xxx)chmod 1777 dir/Only owner can delete (e.g., /tmp)
View permissionsls -laShows rwx notation
View numericstat -c '%a' fileShows numeric mode

Tip: Use landscape orientation for wider tables

Related Tools

Number Base Converter

Convert between binary, octal, decimal, and hexadecimal

Hash Generator

Generate MD5, SHA-1, SHA-256, and other hashes

Password Generator

Generate strong, secure passwords

Text to Binary Converter

Convert text to binary and binary to text

Stay Updated

Get notified about new tools, features, and exclusive deals. No spam, ever.

Browse All Cheat Sheets →
NexTool

Free online tools for developers, writers, and creators. Powered by AI.

Tools

  • Finance & Tax
  • Investment & Retirement
  • Insurance
  • Real Estate
  • Health & Fitness
  • Home & DIY
  • Developer Tools
  • AI Tools
  • All Tools

Resources

  • Blog
  • Unit Conversions
  • All Tools

Company

  • About
  • Pricing
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 NexTool. All rights reserved.

Fine Print Decoder™ and all AI analysis tools are proprietary technology of NexTool.

Made with care for the internet