Re: Logs perms and ownership

Поиск
Список
Период
Сортировка
От Joshua Drake
Тема Re: Logs perms and ownership
Дата
Msg-id 20080825192245.1a4da5be@jd-laptop
обсуждение исходный текст
Ответ на Re: Logs perms and ownership  (Steve Holdoway <steve.holdoway@firetrust.com>)
Ответы Re: Logs perms and ownership  (<steve@outtalimits.com.au>)
Re: Logs perms and ownership  (<steve@outtalimits.com.au>)
Список pgsql-admin
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



В списке pgsql-admin по дате отправления:

Предыдущее
От: Steve Holdoway
Дата:
Сообщение: Re: Logs perms and ownership
Следующее
От:
Дата:
Сообщение: Re: Logs perms and ownership