Re: permissions of external PID file

From: David Fetter <david(at)fetter(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: permissions of external PID file
Date: 2011-06-06 17:55:10
Message-ID: 20110606175510.GB25901@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 03, 2011 at 09:51:45PM +0300, Peter Eisentraut wrote:
> 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.

+1 for making this world-readable.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ross J. Reedstrom 2011-06-06 18:03:06 Re: Range Types and extensions
Previous Message Radoslaw Smogura 2011-06-06 17:48:07 Re: BLOB support