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

From: Ragnar <gnari(at)hive(dot)is>
To: Johannes Konert <jkonert(at)t3go(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Suppress checking of chmod 700 on data-dir?
Date: 2007-06-07 10:00:59
Message-ID: 1181210460.5953.43.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Johannes Konert 2007-06-07 10:57:18 Re: Suppress checking of chmod 700 on data-dir?
Previous Message phillip 2007-06-07 08:51:59 failing to start posgresql.