Added chown operation to ensure postgresqls main dir is not group or
world readable.