Code QuizAdvanced

Making a Script Executable

Spot the permission mistake that stops a shell script from running.

Codebash
#!/bin/bash
# Give the deploy script permission to run, then execute it
chmod 644 deploy.sh
./deploy.sh

This script sets permissions and then tries to run deploy.sh, but execution fails with 'Permission denied'. What is the bug?