Forum: CFEngine Help
Subject: Re: Ownership issue with output files
Author: n...@cmdln.org
Link to topic: https://cfengine.com/forum/read.php?3,24996,25002#msg-25002

I think the reason your permissions are different is related to umask and 
normal ordering.

https://cfengine.com/manuals/cf3-reference#Agent-normal-ordering

Your promises will execute in the following order:
vars, classes, files, commands, reports

So looking back at your promises again, your commands delete the files always, 
and that happens after your files promises which you use to create the files. 
They way you are using reports to populate the files is how they actually get 
created and populated with information again.

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

Reply via email to