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

Toby Peterson toby at apple.com
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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 22:00:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Toby Peterson
>Release:        HEAD
>Organization:
Apple Computer, Inc.
>Environment:
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
>Description:
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: http://opendarwin.org/~toby/patches/cp_lchflags.diff
>How-To-Repeat:
Copy a symlink with flags.
>Fix:
http://opendarwin.org/~toby/patches/cp_lchflags.diff
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list