troubleshoot icon indicating copy to clipboard operation
troubleshoot copied to clipboard

Allow host collectors to error if they have insufficient permissions

Open chris-sanders opened this issue 2 years ago • 1 comments

Describe the rationale for the suggested feature. Very frequently users for get to run a host collect as root. This results in the collection simply reporting "permission denied" on files I need to be able to see.

Describe the feature

It would be good if at the HostCollector level either Troubleshoot automatically caught permission denied errors or at least could be user configurable to error on permission denied errors. While normally the project endeavors to complete collection regardless there are times when it would be better to just let the user know they have insufficient permissions so they can immediately rerun with the correct permissions.

chris-sanders avatar Oct 31 '23 20:10 chris-sanders