bin/135581: cp(1) -pR on empty directory (with trealing /) leads to bogus warnings

Rick van der Zwet info at rickvanderzwet.nl
Sun Jun 14 19:10:02 UTC 2009


>Number:         135581
>Category:       bin
>Synopsis:       cp(1) -pR on empty directory (with trealing /) leads to bogus warnings
>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:   Sun Jun 14 19:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Rick van der Zwet
>Release:        FreeBSD 7.2-RELEASE
>Organization:
Stichting Wireless Leiden
>Environment:
FreeBSD richard.wleiden.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Thu Jun  4 12:12:30 UTC 2009     root at richard.wleiden.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
While calling cp with flags -pR it leads to errors and warnings which could not be linked to the calling arguments
>How-To-Repeat:
# mkdir /foo
# mkdir -p /tmp/foo
# cp -pR /tmp/foo/ /foo
cp: utimes: /foo/foo: No such file or directory
cp: chown: /foo/foo: No such file or directory
cp: chmod: /foo/foo: No such file or directory
cp: chflags: /foo/foo: No such file or directory
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list