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

Re: Thoughts on the location of configuration files

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Thoughts on the location of configuration files
Date: 2001-12-19 05:47:41
Message-ID: 200112190547.fBJ5lgl27042@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> writes:
> > As to the security points that Tom brings up, you don't put anything in /etc 
> > directly -- you put it under /etc/pgsql, and lock it down the same as$PGDATA.
> 
> That'd work if we assume that /etc/pgsql can be owned by the postgres
> user.  Is that kosher per the various filesystem layout standards?
> Seems to me that someone who thinks the executables should be root-owned
> is likely to think the same of the config files.
> 
> Personally I think this would be a fine idea, I'm just worried that
> we'll find packagers overriding the decision because "the Debian
> standards don't allow you to do that" or whatever.

Seems the proper default location is /usr/local/pgsql/config.  Anything
else and non-root people have trouble with the install.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-12-19 05:57:23
Subject: Re: Thoughts on the location of configuration files
Previous:From: Lamar OwenDate: 2001-12-19 05:42:45
Subject: Re: Thoughts on the location of configuration files

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