Closed moylop260 closed 5 years ago
@moylop260
Are you sure this is not an expected behavior?
Config files are usually owned by root.
The postgresql service is executed with the postgres user. If postgres doesn't have permission then never will use it.
what do you think @ruiztulio
@moylop260 The postgres user have permissions to read the file, as ponted by @luisg123v that is the standard permission pattern for postgres, the file is owned by root and is read only for the group and other users: -(rw-)(r--)(r--).
The postgres user can't change it and this is expected behavior, but is able to read it
For record, use root user if you like change this file and reload postgresql configuration:
docker exec --user=root -it CONTAINER_ID bash
Saw
Expected postgres group access to this file