On Thu, 24 Jun 2004, Eric Jahn wrote:
> Anyway, when I was playing around with everyone's
> suggestions (while I was supposed to be working hard on something else), I
> accidentally created a directory (using lndir) that recursively links to a
> directory it is within. duh! Anway, I can't delete the recursively link
> directory becaus eit has contents (which are really just the link). I tried
> rm -d, as root but that didn't work. Probably because my distro doesn't
> support unlinking non-empty directories. Is there a way to delete this
> recursively linked directory? Thanks in advance!
I believe you can't make hard links to a directory except as root, for
just that reason.
fsck might fix it.
-- -eben ebQenW1@EtaRmpTabYayU.rIr.OcoPm home.tampabay.rr.com/hactarHanlon's Razor: "Never attribute to malice that which can be adequately explained by stupidity." Derived from Robert Heinlein
----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:12:37 EDT