Re: Odd permission denied message when starting client

Поиск
Список
Период
Сортировка
От Chris Green
Тема Re: Odd permission denied message when starting client
Дата
Msg-id 20041118213313.GA1378@areti.co.uk
обсуждение исходный текст
Ответ на Odd permission denied message when starting client  (Chris Green <chris@areti.co.uk>)
Список pgsql-general
On Thu, Nov 18, 2004 at 09:27:08PM +0000, Chris Green wrote:
> I have just installed Postgresql 7.3.4 on my slackware 9.1 system.
> The installation went fairly smoothly and the server process has
> started normally:-
>
>     postgres 21027 20767  0 20:12 pts/5    00:00:00 -su
>     postgres 21246     1  0 20:17 pts/3    00:00:00 /usr/bin/postmaster -D /var/lib/postgresql/data
>     postgres 21248 21246  0 20:17 pts/3    00:00:00 postgres: stats buffer process
>     postgres 21251 21248  0 20:17 pts/3    00:00:00 postgres: stats collector process
>
>
> However when I try and run a postgres client process as an ordinary
> user I get the following:-
>
>     FATAL:  could not open configuration file "postgresql.conf": Permission denied
>
> As I understand it the permissions on the postgresql data directory
> should be 0700 and owned by the postgresql user and this is how they
> are set.  So what permission(s) is this error complaining about?
>
Who is being stupid then!  Me!!!!  :-)

The 'postgres' command is trying to run the server, oops.


I'll go away again and shut up for the moment.

--
Chris Green (chris@areti.co.uk)

    "Never ascribe to malice, that which can be explained by incompetence."

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

Предыдущее
От: Chris Green
Дата:
Сообщение: Odd permission denied message when starting client
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Odd permission denied message when starting client