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?
Re: Log file permissions? Re: Log file permissions? Re: Log file permissions? |
| Список | 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 по дате отправления: