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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb error: "could not identify current directory" (or, what have i done now?)
Дата
Msg-id 15966.1102117748@sss.pgh.pa.us
обсуждение исходный текст
Ответ на initdb error: "could not identify current directory" (or, what have i done now?)  (OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com>)
Ответы Re: initdb error: "could not identify current directory" (or,  (OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com>)
[SOLVED] Re: initdb error: "could not identify current directory" (or, what have i done now?)  (OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com>)
Список pgsql-general
OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.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

В списке pgsql-general по дате отправления:

Предыдущее
От: OpenMacNews
Дата:
Сообщение: initdb error: "could not identify current directory" (or, what have i done now?)
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Dont let those int8's drive you mad!!