Re: Log file permissions?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Log file permissions?
Дата
Msg-id 20080131203925.GJ8602@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Log file permissions?  (Vivek Khera <vivek@khera.org>)
Ответы Re: Log file permissions?
Список pgsql-general
Vivek Khera wrote:
>
> On Jan 31, 2008, at 10:21 AM, Alvaro Herrera wrote:
>
>> 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.
>
> just move the logs into a subdir which has permissions applied to it,
> then not worry about the files inside, since nobody can break through
> the directory anyhow.

That doesn't work because the files won't be readable by anyone but the
postgres user.

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

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

Предыдущее
От: "Andrej Ricnik-Bay"
Дата:
Сообщение: Re: Is PostGreSql's Data storage mechanism "inferior"?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Is PostGreSql's Data storage mechanism "inferior"?