Bug 1302254 - [devexp_public_430]Can't copy directory which only contains multiple empty directories to destination dir
Summary: [devexp_public_430]Can't copy directory which only contains multiple empty di...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OKD
Classification: Red Hat
Component: Build
Version: 3.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Ben Parees
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-27 10:12 UTC by XiuJuan Wang
Modified: 2016-01-27 18:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-27 18:24:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description XiuJuan Wang 2016-01-27 10:12:42 UTC
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):
devenv-rhel7_3250
oc v1.1.1-182-ga57296f
kubernetes v1.1.0-origin-1107-g4c8e6f4

How reproducible:
always

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.

Actual results:
3.Nothing copied to destination dir from source path

Expected results:
Coould copy source files/directory to destination dir

Additional info:

Comment 1 Ben Parees 2016-01-27 18:24:37 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.