From: Pascal Robert <probert@os.ca>
To: pgsql-admin@postgresql.org
Subject: serverlog ownership
Date: Mon, 18 Jun 2007 09:21:12 -0400
Message-ID: <391AA5ED-8A97-4AD1-86DE-B2FDDAA35BD7@os.ca> (raw)
Hi,
I want to cat /dev/null > serverlog every night (after the backup is
done) so that this file keep a small size. Now, this file is owned
by "root" and the backup is done by the user "postgres". I want to
change the permissions so that :
-rw-r--r-- 1 root root 43M Jun 18 09:16 serverlog
become :
-rw-rw-r-- 1 root postgres 43M Jun 18 09:16 serverlog
Does postmaster will complain about the new permissions or it's ok to
do that ?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: probert@os.ca
Subject: Re: serverlog ownership
In-Reply-To: <391AA5ED-8A97-4AD1-86DE-B2FDDAA35BD7@os.ca>
References: <391AA5ED-8A97-4AD1-86DE-B2FDDAA35BD7@os.ca>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox