serverlog ownership

From: Pascal Robert <probert(at)os(dot)ca>
To: pgsql-admin(at)postgresql(dot)org
Subject: serverlog ownership
Date: 2007-06-18 13:21:12
Message-ID: 391AA5ED-8A97-4AD1-86DE-B2FDDAA35BD7@os.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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 ?

Browse pgsql-admin by date

  From Date Subject
Next Message Ray Stell 2007-06-18 14:27:33 Re: bugtraq post
Previous Message Ray Stell 2007-06-18 12:08:03 Re: bugtraq post