Re: Suppress checking of chmod 700 on data-dir?

Поиск
Список
Период
Сортировка
От Johannes Konert
Тема Re: Suppress checking of chmod 700 on data-dir?
Дата
Msg-id 466E37A4.5070402@t3go.de
обсуждение исходный текст
Ответ на Re: Suppress checking of chmod 700 on data-dir?  (Oliver Elphick <olly@lfix.co.uk>)
Ответы Re: Suppress checking of chmod 700 on data-dir?
Список pgsql-general
Oliver Elphick wrote:
> You could run the backup as postgres and pipe the output to another
> program owned by the other user and with suid set in its permissions.
> The suid means that the receiving program would have access where you
> don't want postgres to go.
Thanks Oliver,
that was a good hint. Suids are not working on bash-scripts, but with a
restricted entry in /etc/sudoers now the backup-user can execute a
copy-and-access-script to get the files from within PGDATA-dir.
Regards Johannes

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: When should I worry?
Следующее
От: "lhaj.merigh@gmail.com"
Дата:
Сообщение: Create a table B with data coming from table A