Обсуждение: Re: Permission Error when starting PostgreSQL

Поиск
Список
Период
Сортировка

Re: Permission Error when starting PostgreSQL

От
Lee Harr
Дата:
In article <b6a146ef.0208171141.4a081ab6@posting.google.com>, Tim Urberg wrote:
> When I try to start the server using this command:
>
> pg_ctl -D /usr/local/pgsql/data -l logfile -o "-i" start
>
> I get this error:
>
> FATAL 1:  could not read permissions of directory
> /usr/local/pgsql/data: Permission denied
>
> I tried creating the folder as the postgres user, and doing a chown
> and none of that worked, any ideas?
>

How about the permissions on
/usr/local/pgsql
?