Re: Sure enough, the lock file is gone

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Sure enough, the lock file is gone
Date: 2001-01-27 22:05:05
Message-ID: 200101272205.f0RM55F00424@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>> Note: programs that run as non-root users may be unable to create files un
>der
>> /var/run and therefore need a subdirectory owned by the appropriate user.
>
>This is the killer. We can't require root. Seems we are stuck with
>/tmp.

I'd be surprised to learn that non-admin users are allowed to write
in /usr/local, either. If, on some machine, PostgreSQL is such an
unoffical project that the admin won't agree to create /var/run/postgresql,
the user can define his own temporary directory using the method we have
already included in 7.1; if, on the other hand, he is able to create
/usr/local/pgsql, he will also be able to create /var/run/postgresql.

Really, how many users do we have who can't get their admin to do
this for them?

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Come now, and let us reason together, saith the LORD;
though your sins be as scarlet, they shall be as white
as snow; though they be red like crimson, they shall
be as wool." Isaiah 1:18

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2001-01-27 22:21:26 RE: Bug in FOREIGN KEY
Previous Message Tom Lane 2001-01-27 20:25:31 Re: Re: Sure enough, the lock file is gone