[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remove link to directory
From: |
Daniel Nilsson |
Subject: |
Re: remove link to directory |
Date: |
Mon, 18 Feb 2002 14:12:45 +0100 (CET) |
It finds the directory with recurse=0 but refuses to delete it. (I tried
with recurse=1 but its the same result... )
I want to remove the link /usr/hp64000 -> /opt/hp64000, but /opt/hp64000
still exist, and should exist.
/// D
On 18 Feb 2002, Adrian Phillips wrote:
> >>>>> "Daniel" == Daniel Nilsson <dlist@nlsn.nu> writes:
>
> Daniel> Im trying to remove a link to a non-empty directory, but
> Daniel> cfengine refuses to do it.
>
> Daniel> tidy:
>
> Daniel> any::
>
> Daniel> /usr pat=hp64000 recurse=0 age=0 dirlinks=delete
> Daniel> rmdirs=all links=tidy
>
> recurse=0 !!
>
> Daniel> It says:
>
> Daniel> cfengine:doba: Non-empty directory /usr/hp64000,
> Daniel> skipping..
>
> Sincerely,
>
> Adrian Phillips
>
> --
> Your mouse has moved.
> Windows NT must be restarted for the change to take effect.
> Reboot now? [OK]
>