Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2009 02:57:44 -0500 (CDT)
From:      james@jrv.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/133907: cp(1) wrongly reports errors in vacuous copy
Message-ID:  <200904220757.n3M7vi1H029088@bigtex.housenet.jrv>
Resent-Message-ID: <200904220800.n3M803X5053319@freefall.freebsd.org>

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

>Number:         133907
>Category:       bin
>Synopsis:       cp(1) wrongly reports errors in vacuous copy
>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:   Wed Apr 22 08:00:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     James R. Van Artsdalen
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bigtex.housenet.jrv 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r189099: Fri Feb 27 07:09:47 CST 2009 james@bigtex.housenet.jrv:/usr/obj/usr/src/sys/GENERIC amd64


	

8.0-current svn r189099 amd64

	<precise description of the problem (multiple lines)>
>Description:
>How-To-Repeat:

$ mkdir x y
$ cp -Rp x/ y
cp: utimes: y/x: No such file or directory
cp: chown: y/x: No such file or directory
cp: chmod: y/x: No such file or directory
cp: chflags: y/x: No such file or directory
$ 

Appears to affect only the vacuous case of arg x being an empty directory, and only if -p is used.

This error is seen in diskless boots in /etc/rc.initdiskless during boot.

>Fix:

	

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



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