ChmodHero

Master Linux Permissions Through Real DevOps Scenarios

Interactive web-based game that teaches Linux file permissions through hands-on practice with realistic DevOps situations. Stop struggling with chmod - learn by doing!

Why ChmodHero?

Learn Linux permissions through practical scenarios you'll actually encounter in DevOps work

🎯

Real DevOps Scenarios

Practice with actual situations: SSH key security, deployment scripts, Docker builds, database backups, and Kubernetes secrets.

🚀

Progressive Learning

Start with basic chmod +x and work up to complex permission scenarios. Each level builds on the previous one.

Instant Feedback

Get immediate validation and helpful hints. Learn from mistakes with detailed explanations of why permissions matter.

🏆

Gamified Experience

Earn points based on speed and accuracy. Compete on leaderboards and track your progress as you master chmod.

🔐

Security Focus

Learn proper security practices: when to use 600, 644, 755, and why it matters for real-world applications.

🌐

Cross-Platform

Web-based application that runs on Windows, Linux, and macOS. No installation required - just open and play!

See It In Action

Here's what a typical ChmodHero scenario looks like:

🚨 SSH Key Security Alert!
Security audit found that SSH private keys have wrong permissions.
This is a CRITICAL security risk!

Current situation:
$ ls -l ~/.ssh/id_rsa
-rw-r--r-- 1 user group 1675 id_rsa

Your task: Secure the SSH private key so only the owner can read/write it

$ chmod 600 ~/.ssh/id_rsa
✅ Perfect! SSH key is now secure. Only you can read or modify it.
🎯 Points earned: 150
Try It Yourself
7+
Real DevOps Scenarios
100%
Hands-On Learning
Practice Opportunities
0
Installation Required

Get Started in Minutes

Ready to master Linux permissions? Follow these simple steps:

1

Clone Repository

Download the project from GitHub

git clone https://github.com/sohaib1khan/chmod-hero.git
2

Install Dependencies

Set up Python environment and requirements

pip install -r requirements.txt
3

Run & Play

Start the game and open in your browser

python app.py
Download from GitHub

What You'll Master

📚

Octal Notation

Understand 755, 644, 600 and when to use each permission pattern in real scenarios.

🔧

Symbolic Commands

Master +x, u+rwx, go-w syntax and learn multiple ways to achieve the same result.

🛡️

Security Best Practices

Learn proper permissions for SSH keys, config files, scripts, and sensitive data.

🐳

DevOps Applications

Apply knowledge to Docker builds, Kubernetes deployments, CI/CD pipelines, and more.