From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | dms(at)wplus(dot)net, pgsql-hackers(at)hub(dot)org |
Subject: | Re: [HACKERS] DEC OSF1 Compilation problems |
Date: | 1999-02-03 20:06:10 |
Message-ID: | 5704.918072370@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
>> 4. (old bug) Inastalation fail if prefix directory
>> (e.g /usr/local/pgsql) doesn't exists
> I am fixing this now.
Are you sure it's a good idea to do anything other than fail?
In a typical setup, the parent directory of the install target
(ie, /usr/local) is going to be owned by root. If you are able
to create the install target it means the installation is being
done as root. We do *not* want to encourage people to install
as root, methinks.
I think the correct response is to leave the software alone and
fix the documentation to remind people to create the top-level
directory (as root) before running "make install" (as postgres).
/usr/local/pgsql should be owned by postgres, so the install can
proceed from that point without root privileges.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-02-03 20:10:21 | Re: [HACKERS] DEC OSF1 Compilation problems |
Previous Message | Jan Wieck | 1999-02-03 19:37:17 | Re: [HACKERS] 6.5 beta and ORDER BY patch |