Re: 3.0.0p2: oddities with copying files

Jim Wight <[email protected]> Sat, 10 Jan 2009 12:00:43 +0000
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <EMEW-l09C0h51c958046652c061152e1d4371ef4a18-49688DEB.8090707@ncl.ac.uk>
> 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

/tmp/testfile./tmp still gets created.

By the way, it isn't clear in the documentation what the default is in many 
(most?) situations.

Jim