← All Kali Issues
Bash
Permission denied script
P Permission
Medium
🔴 Error Message
bash: permission denied when running script
📖 What This Means
Script file not executable.
🔧 Step-by-Step Fix
- Make executable: chmod +x script.sh
- Or run with bash: bash script.sh
- Check shebang: head -1 script.sh