[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The right location for userdefined global config files?



On Thu, Jun 15, 2006 at 11:40:35PM +0200, Frank Blendinger wrote:
> On Thu, Jun 15, 2006 at 11:37:55PM +0200, Waldemar la Tendresse wrote:
> > Assume more than 1 user needs to have the same config for program
> > <foo>. My idea was to create the "global" config file and symlink from
> > the user's homedir to the "global" file. Is there something wrong about
> > that and where would be the best place to put those "global" config
> > files by means of FHS?
> 
> If that <foo> program that you don't specify any further is not
> completely stupid, it should read the global config in /etc/ first (for
> any user that starts that program) and then overwrite any global
> settings with options set in a user config in his/her home directory. No
> need for any weird symlinking.
> 

I know that it's trivial for programs that work that way. And maybe the
question it a little bit hypothetical, but nevertheless I asked for the
location, and not how "sane programs" should parse theit configs, right?

Any better answers out there?

Cheers.



Reply to: