[Top][All Lists]

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

Re: is there a limit size in edit commands ?

From: Robert Shaw
Subject: Re: is there a limit size in edit commands ?
Date: Tue, 20 Feb 2001 08:28:28 -0700

Use the "editfilesize" variable in the "control:" section to increase
the editing file size. From the reference manual:


   EditfileSize  = ( size )

This variable is used by cfengine every time it becomes necessary to
edit a file. Since file editing applies only to text files, the
files are probably going to be relatively small in most cases. Asking to
edit a very large (perhaps binary) file could therefore be
the result of an error. 

A check is therefore made as a security feature. Cfengine will refuse to
edit a file which is larger than the value of
editfilesize in bytes. This is to prevent possible accidents from
occurring. The default value for this variable is 10000
bytes. If you don't like this feature, simply set the value to be a very
large number or to zero. If the value is zero, cfengine will
ignore it. 

Hope that helps!


reply via email to

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