Skip site navigation (1) Skip section navigation (2)

Re: Logs perms and ownership

From: <steve(at)outtalimits(dot)com(dot)au>
To: Joshua Drake <jd(at)commandprompt(dot)com>
Cc: Steve Holdoway <steve(dot)holdoway(at)firetrust(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Logs perms and ownership
Date: 2008-08-26 02:24:54
Message-ID: 476e1480e2e8eac14baae88edff7800f@127.0.0.1 (view raw or flat)
Thread:
Lists: pgsql-admin
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(at)commandprompt(dot)com>
wrote:
> On Tue, 26 Aug 2008 14:11:13 +1200
> Steve Holdoway <steve(dot)holdoway(at)firetrust(dot)com> wrote:
> 
>> On Tue, 26 Aug 2008 10:42:19 +1000
>> <steve(at)outtalimits(dot)com(dot)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
> 
> 
> 
>

In response to

pgsql-admin by date

Next:From: steveDate: 2008-08-26 02:31:26
Subject: Re: Logs perms and ownership
Previous:From: Joshua DrakeDate: 2008-08-26 02:22:45
Subject: Re: Logs perms and ownership

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group