Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 19:05:54 GMT
From:      Rick van der Zwet <info@rickvanderzwet.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/135581: cp(1) -pR on empty directory (with trealing /) leads to bogus warnings
Message-ID:  <200906141905.n5EJ5slM069115@www.freebsd.org>
Resent-Message-ID: <200906141910.n5EJA1Tn092223@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906141905.n5EJ5slM069115>