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?2) Foundation: who gets access (u/g/o)
User , Group And Others :- (Optional add-on under same section) Ownership & groups:
ls -l(owner + group columns)id,groups,whoamiSome basic commands of Ownership & Groups in Linux
3) Read the permission string (10 characters)
Understanding the Permission String:- File type:
-,d,l
- Split:
user | group | others
4) What r / w / x actually mean
- For files: read, write, execute
- For directories (most confusing part for beginners):
5) Numeric (octal) permission system (755, 644, etc.)
Numeric Permission System :- Add this as a quick reference:
6) Change permissions (chmod) + practical examples
Chmod Changing Permissions :- Main chmod explanation:
- Numeric chmod examples (can merge into main chmod section):
7) Ownership (chown / chgrp) — complete “who” control
Ownership- Change owner:
- Change group:
.jpg?table=block&id=29d76b1d-f1a8-8072-a9bf-cc78d1c7d881&cache=v2)