> However, even after doing chmod 777 on /home/ec2-user/data I still have the issue.
What about the parent directories: /home and /home/ec2-user ? If it's not that, then as Michael said, SELinux/AppArmor etc. Have a look in the output of "dmesg" to see if there are any logs generated when your non-root user tries to access that directory. Also: you're not running node_exporter in any sort of container are you? (docker, lxc/lxd etc) -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/27e978db-29a7-4398-809a-c07132499be6n%40googlegroups.com.

