Re: Thoughts on the location of configuration files - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Thoughts on the location of configuration files
Date
Msg-id 200112190547.fBJ5lgl27042@candle.pha.pa.us
Whole thread Raw
In response to Re: Thoughts on the location of configuration files  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Thoughts on the location of configuration files  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Thoughts on the location of configuration files  (Lamar Owen <lamar.owen@wgcr.org>)
List pgsql-hackers
> Lamar Owen <lamar.owen@wgcr.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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Thoughts on the location of configuration files
Next
From: Tom Lane
Date:
Subject: Re: Thoughts on the location of configuration files