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

From: Johannes Konert <jkonert(at)t3go(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Suppress checking of chmod 700 on data-dir?
Date: 2007-06-12 06:05:24
Message-ID: 466E37A4.5070402@t3go.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2007-06-12 07:27:06 Re: Create a table B with data coming from table A
Previous Message Greg Smith 2007-06-12 04:00:01 Re: When should I worry?