| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера