On 10/12/2014 02:56 AM, Corinna Vinschen wrote: >> With coreutils 8.23-2 this suceeds, with the -3 release you'll get the error >> cp: cannot create directory ‘ACLtest/profile.d’: File exists > > It's even simpler than that: > > $ cd /tmp > $ mkdir -p a/1/2 b/1/2 > $ touch a/1/2/x b/1/2/y > $ cp -rp a/1/2 b/1 > cp: cannot create directory ‘b/1/2’: File exists
D'oh - now I see it. In my .exe code additions, I had added a '!= 0' test that should have really been a '> 0' test; because directories cause an expected -1 return that should not have triggered an attempt at .exe magic. -4 coming soon. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature