Re: Suppress checking of chmod 700 on data-dir? - Mailing list pgsql-general

From Ragnar
Subject Re: Suppress checking of chmod 700 on data-dir?
Date
Msg-id 1181210460.5953.43.camel@localhost.localdomain
Whole thread Raw
In response to Suppress checking of chmod 700 on data-dir?  (Johannes Konert <jkonert@t3go.de>)
Responses Re: Suppress checking of chmod 700 on data-dir?
List pgsql-general
On fim, 2007-06-07 at 10:38 +0200, Johannes Konert wrote:
>  Hi postgresql-listmembers,
> for a backup-scenario I need to have access to the pgdata-directory as a
> different shell-user, but postgresqul refuses to start if chmod is not
> 700 on the directory.
>
> Is there a way to prevent postgres to check the data-dirs chmod 700 on
> startup (and while running) ?

use sudo in your backup scenario, or run you backup as postgres

gnari



pgsql-general by date:

Previous
From: Johannes Konert
Date:
Subject: Suppress checking of chmod 700 on data-dir?
Next
From: Johannes Konert
Date:
Subject: Re: Suppress checking of chmod 700 on data-dir?