|
From: | Ed Brown |
Subject: | Re: creating, fixing files |
Date: | Mon, 15 May 2006 11:51:21 -0600 |
User-agent: | Thunderbird 1.5.0.2 (X11/20060420) |
-Ed Atom Powers wrote:
I am trying to write a rule that creates a file, directory if it doesn't exist, and enfoce ACLs on it if it does. I am trying to use: -- /var/log/service.log mode=640 owner=service group=wheel action=create action=fixall -- But this doesn't work, it failes because it's trying to fix a file that doesn't exist. -- cfengine:host: Cannot access file/directory /var/log/service.log cfengine:host: File/Dir /var/log/service.log did not exist and was marked (fixall) -- What is the correct way to do this?
[Prev in Thread] | Current Thread | [Next in Thread] |