troubleshoot
troubleshoot copied to clipboard
Allow host collectors to error if they have insufficient permissions
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.