Re: log files and permissions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: log files and permissions
Date
Msg-id 28347.1279031485@sss.pgh.pa.us
Whole thread Raw
In response to Re: log files and permissions  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Responses Re: log files and permissions
List pgsql-hackers
Itagaki Takahiro <itagaki.takahiro@gmail.com> writes:
> ...
> We should also check the value not to be something like 0699.
> How about checking it with (file_mode & ~0666) != 0 ?
> ...
> I want show_log_file_mode to print the setting value in octal format.

It seems like a whole lot of lily-gilding is going on here.  Just make
it work like unix_socket_permissions already does.  That's been there
for years and nobody has complained about it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Markus Wanner
Date:
Subject: bg worker: patch 2 of 6 - job cache
Next
From: Markus Wanner
Date:
Subject: bg worker: patch 3 of 6 - sockets