[Top][All Lists]

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

Problem with tidy when directory is empty

From: Predrag Zecevic - Solaris System Administrator
Subject: Problem with tidy when directory is empty
Date: Wed, 09 Jun 2004 08:35:31 +0200
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20040518

Hi all,

it seems that cfEngine 2.1.6 on Solaris 9 (SPARC) removes more than it is needed when using 'tidy' with option 'rmdirs=true' and directory is empty:
-------------------------------------------------------------- <conf> ---
/var/tmp pattern=* rmdirs=true recurse=inf age=5 type=mtime
-------------------------------------------------------------- </conf> ---
This code above ( file) resulted in removal of /var/tmp directory at the moment when it was empty...
On Solaris, it is not desirable to remove that directory...

Bug or feature of rmdirs option?

Best regards ;-)

| Predrag Zecevic | e-Mail: address@hidden |
| 2e Systems GmbH |              Tel: (+49)[0]6107 989 415 |
|Im Taubengrund 12|              Fax: (+49)[0]6107 989 494 |
|65451 Kelsterbach|                                        |
|     Germany     |         Cellular: (+49)[0]174 3109 288 |
Reality is a cop-out for people who can't handle drugs.

reply via email to

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