Re: postgresql source build instructions for ubuntu 7.04 - Mailing list pgsql-general

From Greg Smith
Subject Re: postgresql source build instructions for ubuntu 7.04
Date
Msg-id Pine.GSO.4.64.0801201607380.17332@westnet.com
Whole thread Raw
In response to postgresql source build instructions for ubuntu 7.04  (Jon Hancock <redstarling@gmail.com>)
List pgsql-general
On Fri, 18 Jan 2008, Jon Hancock wrote:

> I get to the 4th step and see I need gmake.  I use make instead.

If you look at your make you'll probably find this:

gsmith@gsmith-ubuntu:~$ make -v
GNU Make 3.81

The standard Ubuntu make is gmake, just isn't named that way by them.

> The bin directory is not accessible to anyone but root due to the
> permissions of the install.  Should I have used a different umask for
> the make/install process? As I'm new to pg, what should I change the
> permissions to?  Should I make the entire bin directory executable by
> anyone?

As you're asking it this isn't really a PostgreSQL problem, it's a UNIX
permissions question.  You should make the directory executable by
everybody you want it to be executable by.  I think your real question
should be "how are the permissions set by the regular Ubuntu PostgreSQL
package?" so that you can do the same thing they do.  What you might
consider is installing the official version, seeing how they set things
up, take some notes on the permissions used, and then set the permissions
on your source-based installation so they're similar.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

pgsql-general by date:

Previous
From: "Sebastjan Trepca"
Date:
Subject: Deadlock in Postgres 8.2
Next
From: Tom Lane
Date:
Subject: Re: setof record "out" syntax and returning records