Closed Krysztophe closed 3 years ago
Is this not a bit dangerous, to let the collected data by default readable by the www-data user? There are some things like the pg_hba.conf, for example.
www-data
https://github.com/darold/pgcluu/blob/24369b47e227458019b0b37f59971660dfb89ae8/pgcluu_collectd.service#L22
It seems to be necessary for the CGI script, but it is not activated by default on packaged installation.
(By the way, I don't really see the value of the CGI, the pgcluu.timer seems enough to me.)
If the environment is not controlled yes it could be a bit dangerous.
Is this not a bit dangerous, to let the collected data by default readable by the
www-data
user? There are some things like the pg_hba.conf, for example.https://github.com/darold/pgcluu/blob/24369b47e227458019b0b37f59971660dfb89ae8/pgcluu_collectd.service#L22
It seems to be necessary for the CGI script, but it is not activated by default on packaged installation.
(By the way, I don't really see the value of the CGI, the pgcluu.timer seems enough to me.)