help-cfengine
[Top][All Lists]
Advanced

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

Re: 'tidy' question


From: Armin Wolfermann
Subject: Re: 'tidy' question
Date: Wed, 16 Jun 2004 15:00:52 +0159
User-agent: Mutt/1.5.6i

* John S. J. Anderson <address@hidden> [16.06.2004 00:07]:
> I'd like to define a 'tidy' action that will clean up /tmp on our
> machines. However, I need to exclude files owned by root from this
> tidy action. It seems like the way to do this is to use a filter,
> but I can't seem to find the filter syntax to say "all users save
> this one". 
>
> Is a filter the right approach? If so, what would that filter look
> like? 

I would use something like:

filters:
    { notroot
    Type:   "reg"
    Owner:  "root"
    Result: "Type.!Owner"
    }

Regards,
Armin Wolfermann




reply via email to

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