Under CentOS 7, node_exporter runs as the prometheus user in the prometheus group.
The /var/lib/node_exporter/textfile_collector directory is owned by root:node_exporter with 771 permissions, so files created inside can't be read by the node_exporter process
Solutions include changing permissions on the textfile_collector directory or adding the prometheus user to the node_exporter group.