Re: log file permissions?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: log file permissions?
Дата
Msg-id 7816.1174062107@sss.pgh.pa.us
обсуждение исходный текст
Ответ на log file permissions?  (Gerardo Herzig <gherzig@fmed.uba.ar>)
Список pgsql-sql
Gerardo Herzig <gherzig@fmed.uba.ar> writes:
> Hi dudes. I have my pg log file rotation configured so i have a 
> psql_`today`.log. The thing is, can i configure postgres so the file 
> permissions (today is 600) could by 640, so developers could login and 
> tailf the logfile (without using the postgres superuser, course)?

You'd have to change the code --- the syslogger process inherits umask
077 from the postmaster.
        regards, tom lane


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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: log file permissions?
Следующее
От: "Josh Williams"
Дата:
Сообщение: Re: INSERT INTO