Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Description of problem: rhc snapshot save a app with the name a.tar.gz in /root/desktop dir, snapshot save another app with the same name a.tar.gz in /root/desktop dir, system didn't prompt conflict information Version-Release number of selected component (if applicable): rhc 1.29.3.1 How reproducible: always Steps to Reproduce: 1.rhc snapshot save app -f 'a.tar.gz' 2.rhc snapshot save app2 -f 'a.tar.gz' Actual results: after step 1~2, prompt conflict information Expected results: after step 1~2, didn't prompt conflict information , cover the first file. Additional info:
Tested on puddle:OpenShiftEnterpriseErrata/2.2/2015-12-03.1 # rpm -qa|grep rhc rhc-1.38.4.3-1.el6op.noarch Step to verify: 1.Create a file in the working directory 'example.tar.gz' # echo "test" > ./example.tar.gz 2.Create an app # rhc app create rb1 ruby-2.0 3.Snapshot the app to an existing file: # rhc snapshot save -a rb1 -f example.tar.gz File example.tar.gz already exists. Do you want to overwrite this file? (yes|no): yes Pulling down a snapshot of application 'rb1' to example.tar.gz ... done # rhc snapshot save -a rb1 -f example.tar.gz File example.tar.gz already exists. Do you want to overwrite this file? (yes|no): no There is prompt info to ask if the file should be overwritten. The bug has been fixed, so move it to Verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-2666.html