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

Jaakko Heinonen jh at saunalahti.fi
Mon Jun 15 12:40:07 UTC 2009


The following reply was made to PR bin/135581; it has been noted by GNATS.

From: Jaakko Heinonen <jh at saunalahti.fi>
To: Rick van der Zwet <info at rickvanderzwet.nl>
Cc: bug-followup at FreeBSD.org
Subject: Re: bin/135581: cp(1) -pR on empty directory (with trealing /)
	leads to bogus warnings
Date: Mon, 15 Jun 2009 15:35:37 +0300

 Hi,
 
 On 2009-06-14, Rick van der Zwet wrote:
 > # 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
 
 This is a duplicate of bin/133907 which has a patch. See also
 kern/134513.
 
 -- 
 Jaakko


More information about the freebsd-bugs mailing list