Обсуждение: FATAL 1: configuration file 'postgresql.conf' has wrong permissions

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

FATAL 1: configuration file 'postgresql.conf' has wrong permissions

От
Andrey Romanchenko
Дата:
hi all!

when I attempt to start postgresql
i see error message

FATAL 1: configuration file 'postgresql.conf' has wrong permissions


-rw--w--w-    1 postgres postgres     3148 Feb 19 11:19 postgresql.conf


What wrong with postgresql.conf in my system?

--

Best regards!
  Andrey Romanchenko  (RomanchenkoAV@belhard.com)

Re: FATAL 1: configuration file 'postgresql.conf' has wrong

От
Bruce Momjian
Дата:
Andrey Romanchenko wrote:
> hi all!
>
> when I attempt to start postgresql
> i see error message
>
> FATAL 1: configuration file 'postgresql.conf' has wrong permissions
>
>
> -rw--w--w-    1 postgres postgres     3148 Feb 19 11:19 postgresql.conf

Uh, quite a big.  Try:

    chmod og-w postgreql.conf

That will fix things.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: FATAL 1: configuration file 'postgresql.conf' has wrong permissions

От
"Michiel Lange"
Дата:
seems like:
there's read/write, write, write access on the file.
I think the others might want to be able to read the file instead of writing
to it.

"Andrey Romanchenko" <RomanchenkoAV@belhard.com> schreef in bericht
news:a4t5vu$1jt2$1@jupiter.hub.org...
> hi all!
>
> when I attempt to start postgresql
> i see error message
>
> FATAL 1: configuration file 'postgresql.conf' has wrong permissions
>
>
> -rw--w--w-    1 postgres postgres     3148 Feb 19 11:19 postgresql.conf
>
>
> What wrong with postgresql.conf in my system?
>
> --
>
> Best regards!
>   Andrey Romanchenko  (RomanchenkoAV@belhard.com)



Re: FATAL 1: configuration file 'postgresql.conf' has wrong permissions

От
Ludwig Lim
Дата:
Hi:

--- Michiel Lange <michiel@minas.demon.nl> wrote:
> seems like:
> there's read/write, write, write access on the file.
> I think the others might want to be able to read the
> file instead of writing
> to it.
>
> "Andrey Romanchenko" <RomanchenkoAV@belhard.com>
> schreef in bericht
> news:a4t5vu$1jt2$1@jupiter.hub.org...
> > hi all!
> >
> > when I attempt to start postgresql
> > i see error message
> >
> > FATAL 1: configuration file 'postgresql.conf' has
> wrong permissions
> >
> >
> > -rw--w--w-    1 postgres postgres     3148 Feb 19
> 11:19 postgresql.conf

-- Try doing the following:
   su postgres
   chmod 600 postgresql.conf

Hope that helps,

ludwig.


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com