[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Copy action and file permissions
From: |
Chris Edillon |
Subject: |
Re: Copy action and file permissions |
Date: |
Fri, 24 Sep 2004 21:27:38 -0400 |
On Fri, 2004-09-24 at 18:21, Mark wrote:
> I get the following error/warning when running cfagent:
> cfengine:data2: /usr/local/bin/update_devel_rights.pl has permission 755
> cfengine:data2: [should be 750]
>
> Should cfagent not update the permissions automatically instead of
> complaining about it?
> I am running it as root, so it should be able to change the permissions if
> it wanted to.
>
it can indeed, but the default action for files:
directives is to warn only (warnall). you'll need
to set action=fixall for it to make the change.
check the reference guide for more details, to
include other actions that cfagent could take.