Welcome to the Server Room!
A new developer just joined your team and needs to run the deployment script. The script exists but isn't executable! This is super common in DevOps - files get the wrong permissions during git checkout or file transfers.
Your Task: Make the deploy.sh script executable for everyone
Context
DevOps Onboarding
Difficulty: Easy
Difficulty: Easy
Current File Permissions
Permissions
Octal
Filename
644
deploy.sh
Need Help?
Permission Reference:
- r (4) = Read permission
- w (2) = Write permission
- x (1) = Execute permission
Common Examples:
chmod 755 file.sh- Make script executablechmod 644 config.txt- Standard file permissionschmod 600 secret.key- Owner-only accesschmod +x script.sh- Add execute permission
Quick Scenarios:
🔐 SSH Keys: Always use
🚀 Scripts: Use
📄 Config Files: Use
🗂️ Secrets: Use
🔧 Build Scripts: Use
chmod 600🚀 Scripts: Use
chmod 755 or chmod +x📄 Config Files: Use
chmod 644🗂️ Secrets: Use
chmod 600 (owner only)🔧 Build Scripts: Use
chmod 754 for security
Enter Your Command
user@chmodhero:~$ ls -l
rw-r--r-- user group deploy.sh
rw-r--r-- user group deploy.sh
user@chmodhero:~$
Hint: