Added /etc/postgres to the permission check