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

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Suppress checking of chmod 700 on data-dir?
Дата
Msg-id 1181248721.32633.18.camel@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Re: Suppress checking of chmod 700 on data-dir?  (Johannes Konert <jkonert@t3go.de>)
Ответы Re: Suppress checking of chmod 700 on data-dir?
Список pgsql-general
On Thu, 2007-06-07 at 12:57 +0200, Johannes Konert wrote:
> > use sudo in your backup scenario, or run you backup as postgres
> >
> Thanks for your quick reply.
> Unfortunaltelly runing backup via sudo is not an option due to sercurity
> issues and using postgres-user is not feasable because other data as
> well is backuped where postgres-user should not have access to.

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.

--
Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html


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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: Inheritance and shared sequence
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Suppress checking of chmod 700 on data-dir?