$NetBSD: patch-ad,v 1.1 1999/11/30 01:54:16 sakamoto Exp $ --- ./src/lhext.c.orig Sun Aug 29 01:36:16 1999 +++ ./src/lhext.c Tue Nov 30 10:31:41 1999 @@ -163,5 +163,5 @@ if (!getuid()) { #ifndef HAVE_NO_LCHOWN - if ((hdr->unix_mode & UNIX_FILE_TYPEMASK) != UNIX_FILE_SYMLINK) + if ((hdr->unix_mode & UNIX_FILE_TYPEMASK) == UNIX_FILE_SYMLINK) lchown(name, hdr->unix_uid, hdr->unix_gid); else