bin/90823: [PATCH] cp(1) should use lchflags()

Toby Peterson toby at
Thu Dec 22 14:00:19 PST 2005

>Number:         90823
>Category:       bin
>Synopsis:       [PATCH] cp(1) should use lchflags()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 22:00:17 GMT 2005
>Originator:     Toby Peterson
>Release:        HEAD
Apple Computer, Inc.
FreeBSD x.x.x.x 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Sep 15 19:43:30 PDT 2005     x at x.x.x.x:/usr/obj/usr/src-freebsd/sys/FREEBSD  i386
The lchflags() syscall was added a few years ago, but cp(1) does not use it. Also, some of the warnings are incorrect when copying links. Patch:
Copy a symlink with flags.

More information about the freebsd-bugs mailing list