FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
chmod Cheat Sheet: Linux File Permissions in 5 Minutes
How-ToDevOps

chmod Cheat Sheet: Linux File Permissions in 5 Minutes

via Dev.to DevOpsarenasbob2024-cell1mo ago

If you've ever SSH'd into a server and run chmod 777 just to make things work... this post is for you. Let's fix that. Linux file permissions are simpler than they look. Once you understand the three-digit number, you'll never have to Google "chmod 755 vs 644" again. The Permission Model in 60 Seconds Every file has three permission categories: Owner (u) -- the user who created it Group (g) -- users in the file's group Others (o) -- everyone else Each category gets three permission types: Read (r) = 4 Write (w) = 2 Execute (x) = 1 Add them up for each category. That's your chmod number. -rwxr-xr-- deploy.sh ||| ||| || ||| ||| |+-- Others: r-- (4) ||| ||+----- Group: r-x (5) ||+---------- Owner: rwx (7) chmod 754 deploy.sh The Octal Cheat Sheet Value Symbolic Meaning 0 --- No permissions 1 --x Execute only 2 -w- Write only 3 -wx Write + execute 4 r-- Read only 5 r-x Read + execute 6 rw- Read + write 7 rwx Full access The Permissions You'll Actually Use chmod Who gets what When to use it

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
18 views

Related Articles

What OpenClaw Gets Wrong Out of the Box (And How to Fix It)
How-To

What OpenClaw Gets Wrong Out of the Box (And How to Fix It)

Medium Programming • 3d ago

Android Remote Compose:讓 Android UI 不用發版也能更新
How-To

Android Remote Compose:讓 Android UI 不用發版也能更新

Medium Programming • 3d ago

How-To

Learn Something Old Every Day, Part XVIII: How Does FPU Detection Work?

Lobsters • 3d ago

“Learn to Code” Is Dead… Learn to Think Instead
How-To

“Learn to Code” Is Dead… Learn to Think Instead

Medium Programming • 3d ago

How-To

How One File Makes Claude Code Actually Follow Your Instructions

Medium Programming • 3d ago

Discover More Articles