Installation docs wrong?

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Installation docs wrong?
Date: 2005-03-25 04:30:46
Message-ID: 424393F6.9010000@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On this page:

http://www.postgresql.org/docs/8.0/interactive/creating-cluster.html

It has this sequence:

root# mkdir /usr/local/pgsql/data
root# chown postgres /usr/local/pgsql/data
root# su postgres
postgres$ initdb -D /usr/local/pgsql/data

However, initdb will fail in this case, since the /usr/local/pgsql dir
is NOT owned by postgres. (This came up on IRC helping someone)

Should it in fact be:

root# chown -R postgres /usr/local/pgsql

Chris

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-03-25 04:38:57 Re: Installation docs wrong?
Previous Message Moran.Michael 2005-03-25 01:30:53 Calling Functions from Delete Rule (+ contrib/pgcrypto) = madness ??