Unfortunately I recently upgraded to 2.2.2 (from 2.2.1) which literally 
trashed about 10 of our system before I figured out what happened! 
Apparently something is broken in 2.2.2 that causes problems with the copy 
commands like this:

copy:
   myserver::
     $(hostmasterfiles)/etc      dest=/etc/ r=inf
                                 mode=600 owner=root group=root
                                 type=checksum

What "used to" simply copy all of my files from my
"$(hostmasterfiles)/etc" directory to my /etc/ directory and change all of
the "files" permissions to 600, now screws up the /etc directory
permissions.  It changes them to 700.  Even though, in the cfengine manual
it specifically says:
   A value of r=inf implies unlimited recursion. Cfengine then descends
   into all subdirectories checking or setting the permissions of files
   until it `bottoms out' at a plain file.
Key words here are "descends into all subdirectories...." not parent
directory which it is somehow doing now.

:(

Please fix as soon as possible...

_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to