permissions of external PID file - Mailing list pgsql-hackers

From Peter Eisentraut
Subject permissions of external PID file
Date
Msg-id 1307127105.32120.8.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: permissions of external PID file
List pgsql-hackers
The external PID file, if configured, is currently generated with 600
permissions, which results from the umask setting in the postmaster.  I
think it would be nicer if we could make that 644.

I have often dealt with scripts and such that look through PID files
in /var/run, and it's always annoying when some PID file is not readable
for some reason or no reason at all.  (One simple benefit is that you
don't need extra privileges to check whether the process is alive.)
Almost all PID files on my system are world-readable now.




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: SIREAD lock versus ACCESS EXCLUSIVE lock
Next
From: "Kevin Grittner"
Date:
Subject: Re: Domains versus polymorphic functions, redux