Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Log file permissions?




On Jan 31, 2008, at 10:21 AM, Alvaro Herrera wrote:

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.

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.




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group