Re: data mount point lost permissions

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: data mount point lost permissions
Дата
Msg-id 4CF36B760200002500037EF8@gw.wicourts.gov
обсуждение исходный текст
Ответ на data mount point lost permissions  (Silvio Brandani <silvio.brandani@tech.sdb.it>)
Список pgsql-admin
Silvio Brandani <silvio.brandani@tech.sdb.it> wrote:

> During a  server restart  the mount point /var/lib/pgsql/data lost
> the 0700 permission and the automatic restart of postgres failed.
>
> How can I set the permission of this mount point to be not lost
> during restart of server ?? Have I to set specific option in
> fstab??

Perhaps the mount failed, or did not occur before PostgreSQL tried
to start?  If so, the permission flags may be saving you from
writing to entirely the wrong place?

Does your service script for PostgreSQL (probably in /etc/init.d/)
contain something like this in the BEGIN INIT INFO block?:

# Required-Start: $local_fs $network $syslog
# Should-Start: nthd

Those settings have kept us out of trouble....

-Kevin

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

Предыдущее
От: Silvio Brandani
Дата:
Сообщение: data mount point lost permissions
Следующее
От: A J
Дата:
Сообщение: Extension for file management under postgres