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

Re: [HACKERS] postmaster crash and .s.pgsql file

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Goran Thyni <goran(at)bildbasen(dot)se>
Cc: jamesh(at)interpath(dot)com, maillist(at)candle(dot)pha(dot)pa(dot)us, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Date: 1998-01-29 13:03:45
Message-ID: Pine.NEB.3.95.980129080157.7021B-100000@hub.org (view raw or flat)
Thread:
Lists: pgsql-hackers
On 29 Jan 1998, Goran Thyni wrote:

> 
>    > I would opt for /var/run to store the pid files and have the name set to
> 
> 	   That would assume that postmaster runs as root, which is not
>    allowed...has to be in /tmp somewhere
> 
> Maybe both should be under /usr/local/pgsql
> somewhere, so they will not be removed by any 
> '/tmp'-clean-up-scripts.

	I don't agree with this either.../tmp is world
readable/writable...what happens if 'joe blow user' decides for whatever
reason to initdb a database in his personal directory space and run a
postmaster process of his own?  (S)he'd be running the same system binary,
just under her own userid...



In response to

pgsql-hackers by date

Next:From: The Hermit HackerDate: 1998-01-29 13:05:36
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Previous:From: Andrew MartinDate: 1998-01-29 10:49:50
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group