I made a hard link to a directory with
ln -f hardlink1 hardlink2
and I cannot remove it.
rmdir reports "Directory not empty"
rm -r reports "rm: hardlink1 not removed"
tracing "unlink hardlink1" gives:
unlink ("hardlink1") = -1 EPERM (Not owner)
Even though I am root and the owner is root.
What is going on?
Carlos Ibarra (ibarrac at fiu.edu)