Re: Log file permissions?
- From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
- To: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
- Cc: Douglas McNaught <doug(at)mcnaught(dot)org>, pgsql-general(at)postgresql(dot)org
- Subject: Re: Log file permissions?
- Date: Thu, 31 Jan 2008 12:21:41 -0300
- Message-id: <20080131152141.GF8602@alvh.no-ip.org> <text/plain>
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.
Home |
Main Index |
Thread Index