Back to DevOps Series
Part 4 : Permissions in Linux :

Part 4 : Permissions in Linux :

Final Structure (Blog Flow)s

0) Quick setup (optional but helpful)

  • Command to view permissions: ls -l
  • One sample output you will decode: -rwxr-xr--

1) Start here (why it exists)

Why Permissions Exist?
Why Permissions Exist?

2) Foundation: who gets access (u/g/o)

User , Group And Others :
User , Group And Others :

3) Read the permission string (10 characters)

Understanding the Permission String:
Understanding the Permission String:
  • File type: -, d, l
  • Split: user | group | others

4) What r / w / x actually mean

  • For files: read, write, execute

5) Numeric (octal) permission system (755, 644, etc.)

Numeric Permission System :
Numeric Permission System :

6) Change permissions (chmod) + practical examples

Chmod Changing Permissions :
Chmod Changing Permissions :

7) Ownership (chown / chgrp) — complete “who” control

Ownership
Ownership

8) Interview questions / recap