--- src/sbin/newfs/fscopy.c 2004/06/06 05:48:01 1.3 +++ src/sbin/newfs/fscopy.c 2004/06/26 22:54:01 1.4 @@ -347,8 +347,10 @@ FSPaste(const char *path, fsnode_t node, fprintf(stderr, "lutimes failed on %s\n", path); if (lchmod(path, st->st_mode & ALLPERMS) < 0) fprintf(stderr, "lchmod failed on %s\n", path); - if (chflags(path, st->st_flags) < 0) - fprintf(stderr, "chflags failed on %s\n", path); + if (!S_ISLNK(st->st_mode)) { + if (chflags(path, st->st_flags) < 0) + fprintf(stderr, "chflags failed on %s\n", path); + } } }