pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: steve@outtalimits.com.au
To: Joshua Drake <jd@commandprompt.com>
Cc: Steve Holdoway <steve.holdoway@firetrust.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Logs perms and ownership
Date: Tue, 26 Aug 2008 12:24:54 +1000
Message-ID: <476e1480e2e8eac14baae88edff7800f@127.0.0.1> (raw)
In-Reply-To: <20080825192245.1a4da5be@jd-laptop>
References: <ae54053c0644aad23cc984bf61cdae58@127.0.0.1>
	<20080826141113.a026a405.steve.holdoway@firetrust.com>
	<20080825192245.1a4da5be@jd-laptop>

Yeah, thought about that but as you said the perms on the logs are 700. on
both stderr and syslogging.

On Mon, 25 Aug 2008 19:22:45 -0700, Joshua Drake <jd@commandprompt.com>
wrote:
> On Tue, 26 Aug 2008 14:11:13 +1200
> Steve Holdoway <steve.holdoway@firetrust.com> wrote:
> 
>> On Tue, 26 Aug 2008 10:42:19 +1000
>> <steve@outtalimits.com.au> 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
> 
> 
> 
>



view thread (5+ messages)  latest in thread

Message-ID: <476e1480e2e8eac14baae88edff7800f@127.0.0.1>
Permalink:  ../476e1480e2e8eac14baae88edff7800f@127.0.0.1/
Also on:    postgresql.org/message-id/476e1480e2e8eac14baae88edff7800f@127.0.0.1

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: steve@outtalimits.com.au, jd@commandprompt.com, steve.holdoway@firetrust.com
  Subject: Re: Logs perms and ownership
  In-Reply-To: <476e1480e2e8eac14baae88edff7800f@127.0.0.1>

* 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