Re: [HACKERS] New install doc - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] New install doc
Date
Msg-id Pine.LNX.4.21.0001242105030.525-100000@localhost.localdomain
Whole thread Raw
In response to Re: [HACKERS] New install doc  (Vince Vielhaber <vev@michvhf.com>)
List pgsql-hackers
On 2000-01-22, Vince Vielhaber mentioned:

> >> # chown -R postgres:postgres /usr/local/pgsql
> >> 
> >> that should be the same on most systems with perhaps the exception of the
> >> colon.  Anyway it'll make sure that all the files have the correct owners.

> The reason I mentioned it is on one install where I used:
> 
> install -u postgres -g postgres
> 
> all of the directories were created ug root:wheel and the files in them
> were ug postgres:postgres so I had to go back one and do the above chown.
> PostgreSQL couldn't create databases.

Ha! If you try to subvert the make install logic then you're on your
own. The directories are created by a script called mkinstalldirs (which
is used by the rest of the world as well) and that doesn't know about
permissions. If you would like this to work, then how about patching up
mkinstalldirs? You'll find it in the src dir, it's a really simple thingy.

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Happy column dropping
Next
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] max(oid)