Red Hat Bugzilla – Bug 1302254
[devexp_public_430]Can't copy directory which only contains multiple empty directories to destination dir
Last modified: 2016-01-27 13:24:37 EST
Description of problem:
When treat a directory which only contains empty directories as sourcepath, no directory can be copied to destination dir
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Find a directory only contains empty directories in source image.
2.Create an app with source image.
$oc new-build openshift/ruby:latest https://github.com/openshift/ruby-hello-world --source-image=openshift/jenkins:latest --source-image-path=/var/lib/yum/repos/x86_64/:xiuwangs2i
3.After build complete, check result image.
3.Nothing copied to destination dir from source path
Coould copy source files/directory to destination dir
I can't think of a use case where someone would need/want to copy an entirely empty directory tree out of an image for a build, so i'm going to mark this won't fix as it's not worth the time/effort to address.