help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: access permissions problems


From: Eric Sorenson
Subject: Re: access permissions problems
Date: Thu, 3 Feb 2005 09:50:22 -0800 (PST)

On Tue, 1 Feb 2005, Harry Hoffman wrote:

> [ con mucho deletia ]
> I also have a copy statement like so:
> $(master_files)/$(fqhost)/etc/sysconfig/iptables dest=/etc/sysconfig/iptables
>                                 syslog=true
>                                 inform=true
>                                 server=$(policyhost)
>                                 define=restartiptables

> So, it seems to show (i think) that the file was copied? Unfortunately, it
> wasn't copied.

Try setting type=checksum in your copy, or control: DefaultCopyType = (checksum)

It defaults to 'ctime' so if your client was installed after the server's
'iptables' file was created, it won't get copied. And the server has no
way of knowing whether the client's file is newer, so this check is done
on the client... after the server sends the file. So it would describe
the behavior you're seeing.

(If iptables doesn't exist at all on the client, and it *still* won't
copy, this won't help you)

-- 

 - Eric Sorenson - Explosive Networking - http://eric.explosive.net -




reply via email to

[Prev in Thread] Current Thread [Next in Thread]