Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group