Browse Linux & CLI Topics ▼

Permissions & chmod

📂 Users, Groups & Permissions 📘 Lesson 11 of 21

Master read, write, and execute permissions (rwx) across user, group, and others using chmod.

Permissions & chmod is an essential topic in LINUX.

Overview

Mastering permissions & chmod provides the core mental model and practical skills needed for real-world software engineering workflows.

# Octal permissions: 7 (rwx), 5 (r-x), 4 (r--)
chmod 755 deploy.sh

# Make script executable for current user only
chmod u+x run.sh

# Read-only file for everyone
chmod 444 config.readonly

Key Concepts

  • Understand the fundamental syntax, commands, and architecture.
  • Learn standard conventions, safety guardrails, and common pitfalls.
  • Apply practical idioms directly in production environments.

[!TIP] Practice these core patterns thoroughly. Next, proceed to linux-chown-groups.

Test your understanding of Permissions & chmod

Quick interactive practice questions with instant feedback.

Take Quiz →