bug-cfengine
[Top][All Lists]
Advanced

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

editfiles conflict with repository loses file mode


From: Elmar Kurgpold
Subject: editfiles conflict with repository loses file mode
Date: Fri, 1 Dec 2000 16:10:07 -0800 (PST)

I've tried this with 1.6.0.a13, 1.6.0.a14 and 1.6.0 on Solaris 8 and got
the results I describe below.  With 1.5.4 I did not see this problem.  
Here is a sample script:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

control:
    actionsequence      = ( editfiles )
    repository          = ( /var/tmp/cfrepo )

editfiles:

    any::

    { /tmp/yo
        AutoCreate
        Append "Yo"
    }

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

If I set the mode on /tmp/yo to say 744 and then run this script, the mode
is reset according to the user's umask setting.  I found that when I take
out the setting for the repository, it works as expected. 

        ++Elmar

|  Elmar Kurgpold
|  Email: address@hidden




reply via email to

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