diff -ur pvfs-1.6.3-pre1/mgr/meta/md_unlink.c pvfs-1.6.3-pre1-lnk/mgr/meta/md_unlink.c --- pvfs-1.6.3-pre1/mgr/meta/md_unlink.c Mon Nov 24 18:41:45 2003 +++ pvfs-1.6.3-pre1-lnk/mgr/meta/md_unlink.c Thu Apr 29 13:59:50 2004 @@ -50,7 +50,8 @@ perror("md_unlink: lstat"); return (-1); } - if(S_ISLNK(statbuf.st_mode)) { + /* catch both symlinks and hard links */ + if(S_ISLNK(statbuf.st_mode) || (S_ISREG(statbuf.st_mode) && (statbuf.st_nlink > 1))) { if(is_link) *is_link = 1; /* Check permission on directory */ strncpy(temp, fname, MAXPATHLEN);