Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 196C39FB5A7 for ; Mon, 18 Jun 2007 11:22:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 62061-07 for ; Mon, 18 Jun 2007 11:22:08 -0300 (ADT) X-Greylist: delayed 01:00:00.284374 by SQLgrey-1.7.4 Received: from osci.qc.ca (cgp.osci.qc.ca [216.113.25.150]) by postgresql.org (Postfix) with ESMTP id B3DF29FB306 for ; Mon, 18 Jun 2007 11:22:08 -0300 (ADT) Received: from [192.168.3.143] (account probert [192.168.3.143] verified) by osci.qc.ca (CommuniGate Pro SMTP 5.0.13) with ESMTPA id 9633484 for pgsql-admin@postgresql.org; Mon, 18 Jun 2007 09:22:04 -0400 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <391AA5ED-8A97-4AD1-86DE-B2FDDAA35BD7@os.ca> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: pgsql-admin@postgresql.org From: Pascal Robert Subject: serverlog ownership Date: Mon, 18 Jun 2007 09:21:12 -0400 X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/127 X-Sequence-Number: 25795 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 ?