cfengine-2.1.20 on linux kernel 2.4.23

I have a question regarding how the files action works.  Initially I had the 
following

files:

sendmailservers::

${sendmailscdm}/aliases.db      owner=root
                                group=sendmail
                                mode=660
                                action=touch
                                
I thought that the files would be touched and ownership and permissions set all 
in the same pass but it would only touch the file and set the permissions.  
Ownership and group ownership stayed the same.  Doing the following works its 
just not what I expected.  This may be the result of there actually being two 
actions performed a touch and fixall.  I'm just trying to verify that this is 
the correct behavior before I write more sections this way.

${sendmailscdm}/aliases.db      mode=660
                                action=touch
${sendmailscdm}/aliases.db      owner=root
                                group=sendmail
                                
Any advise would be greatly appreciated.

--Mike Boyer
--Administrative Computer Consultants Co.
--217-253-6488

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to