-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.15.z, 4.17.z, 4.16.z
-
None
-
Quality / Stability / Reliability
-
False
-
-
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.