Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-49855

oc-mirror tar ball does not have the executable attribute set for oc-mirror element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.15.z, 4.17.z, 4.16.z
    • Release
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Downloading https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/oc-mirror.tar.gz and extracting the archive produces an "oc-mirror" file but no executable bit set. 
      
      All other clients downloaded from this directory has the executable bit set for the CLI. This should follow the same rule.

      Version-Release number of selected component (if applicable):

          

      How reproducible:

      Download the tar ball, extract.

      Steps to Reproduce:

      1. wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/oc-mirror.tar.gz
      2. tar xf oc-mirror.tar.gz
      3. ls -l oc-mirror.tar.gz
      -rw-r-----. 1 plarsen plarsen 177660480 Jan 22 10:24 oc-mirror  

      Actual results:

      $ ls -l oc-mirror
      -rw-r-----. 1 plarsen plarsen 177660480 Jan 22 10:24 oc-mirror

      Expected results:

      $ ls -l oc-mirror 
      -rwxr-xr-x. 1 plarsen plarsen 177660480 Jan 22 10:24 oc-mirror

       

      Additional info:

      All CLI files should follow the same template. ELF binaries should be marked as exxecutable by default - or all CLI downloads should result in non executable binaries for security reasons.

              jdelft Joep van Delft
              rh-sa-plarsen Peter Larsen
              None
              None
              Wei Sun Wei Sun
              None
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: