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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On this page:

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



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-2017 The PostgreSQL Global Development Group