Re: 3.0.0p2: oddities with copying files

Mark Burgess <[email protected]> Sat, 10 Jan 2009 13:14:24 +0100
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <[email protected]>

Jim Wight wrote:
>> The file gets copied OK, despite the server (with -v) saying:
>>
>> cf3 Host yyy.ncl.ac.uk granted access to /tmp/testfile
>> cf3 Found a matching rule in access list (/tmp/testfile in /tmp)
>> cf3 File /tmp requires encrypt connection...will not serve
>> cf3 Host yyy.ncl.ac.uk denied access to /tmp/testfile
> 
> It turns out I had   ifencrypted => "false";   set. If I remove that, the 
> output is:
> 
> cf3 Host yyy.ncl.ac.uk granted access to /tmp/testfile
> cf3 Found a matching rule in access list (/tmp/testfile in /tmp)
> cf3 No root privileges granted
> cf3 Host yyy.ncl.ac.uk granted access to /tmp/testfile

I am going to put an alpha of 3.0.1 up shortly which you can try. This
is basically a version that compiles independently of cfengine 2.
However, I did find an error in transcription which probably leads to
that error.

> /tmp/testfile./tmp still gets created.
> 
> By the way, it isn't clear in the documentation what the default is in many 
> (most?) situations.

This is a weakness to be fixed.