Re: initdb must have write access to /tmp

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: initdb must have write access to /tmp
Дата
Msg-id 200110112131.f9BLVlk17920@candle.pha.pa.us
обсуждение исходный текст
Ответ на initdb must have write access to /tmp  (Rich Bodo <rsb@ostel.com>)
Список pgsql-bugs
>
> Hi,
>
>     I was just installing postgres 7.1.2 on my linux mandrake 7.2
>     system and the build and install went fine up to the point I
>     had to run:
>
>      initdb -D /usr/local/pgsql/data
>
>     which segfaulted.  I changed the permissions on /tmp to 777
>     and all was well.  I think initdb could use an if statement to
>     check the permissions on /tmp and report a descriptive bug.

I think this will be fixed in 7.2.  I don't see initdb referencing /tmp
at all and postmaster/postgres have some fixes when they fail to write
to /tmp.  In fact, I just initdb'ed with temp unwritable so it seems
this is certainly fixed.

--
  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

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: SQLCODE==-209
Следующее
От: Lee Kindness
Дата:
Сообщение: ecpg - GRANT bug