I am running:
version
-----------------------------------------------------------------------------------------------------
PostgreSQL 9.4.11 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2, 64-bit
(1 row)
and:
pgAdmin III 1.22.2
on the same:
Description: Ubuntu 14.04.5 LTS
Release: 14.04
I can open the postgresql.conf
configuration file with pgAdmin
but not the pg_hba.conf
configuration file.
Both files are in the same directory (/etc/postgresql/9.4/main
):
-rw-r----- 1 postgres postgres 4641 Jun 10 2016 pg_hba.conf
-rw-r--r-- 1 postgres postgres 21501 Jun 10 2016 postgresql.conf
but I have noticed that the two configuration files have different permissions. I haven't modified the permissions of pg_hba.conf
to make them different from those of postgresql.conf
.
Are the permissions of these files different by default? Is there are reason why the pg_hba.conf
has more restricted read permissions? Can I go ahead and modify the permissions of pg_hba.conf
?