Skip to content

Fresh portscan and vulnscan instances have permissions issues for cyhy-runner data #662

@mcdonnnj

Description

@mcdonnnj

🐛 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.

Metadata

Metadata

Assignees

Labels

bugThis issue or pull request addresses broken functionality

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions