help-cfengine
[Top][All Lists]
Advanced

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

Re: Where is workdir?


From: Mark . Burgess
Subject: Re: Where is workdir?
Date: Wed, 30 Oct 2002 00:44:52 +0100 (MET)

This is definitely undesirable. The aim of a trusted directory is
preceisly to avoid this. If you want to keep input files elsewhere
then use CFINPUTS, otherwise I recommend using the defaults.

M

On 29 Oct, Marion Hakanson wrote:
>> 
>> On 24 Oct, Marion Hakanson wrote:
>> > I've got three different builds of cfengine-2.0.4, all with different
>> > values of WORKDIR compiled in.  One of them uses a version-specific
>> > path (something like /var/cfengine-2.0.4), so it could vary even on
>> > the same platform (when testing cfengine-2.0.5, for example).
>> > . . .
>> 
>> The default workdir is always /var/cfengine. Anything else
>> must have been configured by hand. Don't recommend
>> changing it.
>> 
>> Mark
> 
> 
> People change it for all kinds of reasons, good, bad, and indifferent.
> What is the risk of providing a preset (read-only) variable to help out
> the cfengine programmer who has to deal with such a situation?
> 
> If someone sent you a patch implementing a pre-defined macro, would you
> include it in the distribution?  Do you have a preference as to the name
> of the macro?  Probably not "workdir", since that variable gets set in
> a number of example config-files.  How about "default_workdir"?
> 
> Regards,
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

[Prev in Thread] Current Thread [Next in Thread]