Hard links to directories

Carlos Ibarra ibarrac at scs.fiu.edu
Thu Jul 19 04:48:19 AEST 1990


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)



More information about the Comp.unix.wizards mailing list