Re: Log file permissions?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Log file permissions?
Дата
Msg-id 20080131152141.GF8602@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Log file permissions?  (Glyn Astill <glynastill@yahoo.co.uk>)
Ответы Re: Log file permissions?  (jr <jorg.raskowski@tailorware.org.uk>)
Re: Log file permissions?  (jr <jorg.raskowski@tailorware.org.uk>)
Re: Log file permissions?  (jr <jorg.raskowski@tailorware.org.uk>)
Re: Log file permissions?  (Vivek Khera <vivek@khera.org>)
Список pgsql-general
Glyn Astill wrote:

> I'm not piping it to a file, postgres is managing the logs. Is there
> any way to manage the permissions, or do I just need to create a
> script to change the permissions?

I think you should be able to chmod the files after they have been
created.  The postmaster changes its umask to 0077, so no file is
group-readable.  I don't think is configurable either.

Perhaps we should add a log_file_group option, to which we would chgrp()
the log files.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: How can I avoid PGPool as a single point of failure?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [ADMIN] Backup