Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D11E36501E0 for ; Mon, 25 Aug 2008 23:21:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 58119-05 for ; Mon, 25 Aug 2008 23:21:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 57D9B64FD33 for ; Mon, 25 Aug 2008 23:21:26 -0300 (ADT) Received: from jd-laptop (or-69-34-217-90.sta.embarqhsd.net [69.34.217.90]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m7Q2OQks029974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Aug 2008 19:24:27 -0700 Date: Mon, 25 Aug 2008 19:22:45 -0700 From: Joshua Drake To: Steve Holdoway Cc: pgsql-admin@postgresql.org Subject: Re: Logs perms and ownership Message-ID: <20080825192245.1a4da5be@jd-laptop> In-Reply-To: <20080826141113.a026a405.steve.holdoway@firetrust.com> References: <20080826141113.a026a405.steve.holdoway@firetrust.com> Organization: Command Prompt, Inc. X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 25 Aug 2008 19:24:27 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/155 X-Sequence-Number: 30000 On Tue, 26 Aug 2008 14:11:13 +1200 Steve Holdoway wrote: > On Tue, 26 Aug 2008 10:42:19 +1000 > wrote: > > > Hi all, > > > > Is there a way to make the postgres logs readable by other users or > > a group apart from postgres:postgres? > > I am on postgres 8.1 > > > > I cannot see any feature to allow setting perms or ownership > > > > Add that user to the postgres group? > Actually that may or may not work. If the log directory is under $PGDATA then it won't because $PGDATA must be 0700. If the log directory is elsewhere or he is using syslog he can get around it. Sincerely, Joshua D. Drake -- The PostgreSQL Company since 1997: http://www.commandprompt.com/ PostgreSQL Community Conference: http://www.postgresqlconference.org/ United States PostgreSQL Association: http://www.postgresql.us/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate