Re: initdb error: "could not identify current directory" (or, what have i done now?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: OpenMacNews <pgsql-general(dot)20(dot)openmacnews(at)spamgourmet(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: initdb error: "could not identify current directory" (or, what have i done now?)
Date: 2004-12-03 23:49:08
Message-ID: 15966.1102117748@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

OpenMacNews <pgsql-general(dot)20(dot)openmacnews(at)spamgourmet(dot)com> writes:
>> su testuser
> % /usr/local/pgsql/bin/initdb --pgdata=/var/data/pgsql --username=testuser
> could not identify current directory: Permission denied

What directory are you in when you give this command? (AFAIR su doesn't
change directory ... you might be better off with su - testuser ...)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2004-12-04 00:07:14 Re: Dont let those int8's drive you mad!!
Previous Message OpenMacNews 2004-12-03 23:27:12 initdb error: "could not identify current directory" (or, what have i done now?)