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

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Johannes Konert <jkonert(at)t3go(dot)de>
Cc: Ragnar <gnari(at)hive(dot)is>, pgsql-general(at)postgresql(dot)org
Subject: Re: Suppress checking of chmod 700 on data-dir?
Date: 2007-06-07 20:48:22
Message-ID: 46686F16.3060401@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Johannes Konert wrote:
> Ragnar wrote:
>>> are you planning a filesystem-level backup?
> As war as I understood the docu of psql 8.2.4
> (http://www.postgresql.org/docs/8.2/interactive/continuous-archiving.html
> section 23.3.2) you can copy the files while postgres is running
> (respecting pg_start_backup and pg_stop_backup)
> But that is not my point. The question is where I can change the
> enforced chmod 700 postgresql always wants me to set.

You can't.

You can however change the postgresql.conf to put look for files
somewhere besides $PGDATA and thus you would be able to back them up.

Anything else in there you should be grabbing via pg_dump anyway.

Joshua D. Drake

> Regards Johannes :)
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org/
>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2007-06-07 21:07:33 Re: subtract a day from the NOW function
Previous Message Fernando Hevia 2007-06-07 20:38:47 Re: subtract a day from the NOW function