🐛 Bug Report
When spinning up fresh (no existing EBS volume for cyhy-runner data) portscan or vulnscan instances the cyhy-commander is unable to push work due to incorrect permissions on the scanner instance.
To Reproduce
- Spin up a fresh
portscan or vulnscan instance.
- Watch the cyhy-commander log and see that it is unable to push work to the new instance.
- SSH to the new instance and see that the
/var/cyhy/runner/running and/or /var/cyhy/runner/done directories are owned by root instead of cyhy.
Expected behavior
A fresh scanner instance is able to immediately receive work after successfully starting up.