can't delete directory symlinks??
Joel Hammer
joel
Mon May 17 11:57:08 PDT 2004
You haven't aliased rm to mean something like rm -rf ?
Joel
On Sun, Dec 21, 2003 at 10:14:38AM -0800, Net Llama! wrote:
> I've just discovered some rather odd behavior when I can no longer
> delete symlinks that point to directories.
>
> For example, if I have:
> ln -s bar foo
> foo -> bar
>
> where bar is a directory, if I try to delete foo:
> rm foo
> rm: cannot remove `foo/': Not a directory
>
> Am i missing something obvious?
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> L. Friedman netllama at linux-sxs.org
> Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
>
> 10:10am up 14 days, 14:58, 1 user, load average: 0.03, 0.11, 0.09
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc ->
> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list