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
Linux File Permissions (chmod): The Complete Developer Guide
How-ToDevOps

Linux File Permissions (chmod): The Complete Developer Guide

via Dev.to DevOpsarenasbob2024-cell1mo ago

Understanding Linux file permissions is essential for every developer working with servers, Docker, or CI/CD. Here's the complete guide. The Permission Model Every file and directory has three sets of permissions for three types of users: -rwxr-xr-x 1 user group 4096 Jan 1 12:00 script.sh │└┬┘└┬┘└┬┘ │ │ │ └── Other (everyone else) │ │ └───── Group │ └──────── Owner/User └────────── File type (- = file, d = directory, l = symlink) Each set has three bits: r (read=4), w (write=2), x (execute=1) Octal Notation chmod 755 script.sh # rwxr-xr-x chmod 644 config.txt # rw-r--r-- chmod 600 private.key # rw------- chmod 777 public/ # rwxrwxrwx (avoid for security) chmod 700 ~/.ssh/ # rwx------ Common permission combos: | Octal | Symbolic | Use case | |-------|----------|----------| | 755 | rwxr-xr-x | Scripts, executables | | 644 | rw-r--r-- | Config files, static files | | 600 | rw------- | Private keys, passwords | | 755 | rwxr-xr-x | Web directories | | 640 | rw-r----- | Group-readable config

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
42 views

Related Articles

How-To

The Difference between `let`, `var` and `const`

Medium Programming • 2d ago

How-To

Circulation Metrics Framework for Living Systems

Medium Programming • 2d ago

Red Rooms makes online poker as thrilling as its serial killer
How-To

Red Rooms makes online poker as thrilling as its serial killer

The Verge • 2d ago

Don’t Know What Project to Build? Here Are Developer Projects That Actually Make You Better
How-To

Don’t Know What Project to Build? Here Are Developer Projects That Actually Make You Better

Medium Programming • 2d ago

Why Most Developers
Stay Broke
How-To

Why Most Developers Stay Broke

Medium Programming • 2d ago

Discover More Articles