help-cfengine
[Top][All Lists]
Advanced

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

editfiles AutoCreate options


From: Jamie Wilkinson
Subject: editfiles AutoCreate options
Date: Thu, 30 Jan 2003 14:28:38 +1100
User-agent: Internet Messaging Program (IMP) 3.1

Hi Mark and everyone

I've currently got a large section of my config inputs doing a files: followed
by an editfiles: section.  The files: is only there to make sure the permissions
on the newly created editfiles are correct.

What I'd like to see is some optional arguments to the AutoCreate command to
specify the mode, owner and group, rather than sticking to the default 0644, and
have AutoCreate check the existing permissions if the file doesn't need to be
created.

One can argue that this is the entire purpose of the files: section, files is
useful, but when you're creating and editing them as well as checking
permissions it's going to be a lot easier to maintain and read when there's just
one section doing the work.

Jamie




reply via email to

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