-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
4.10
-
Quality / Stability / Reliability
-
None
-
None
-
None
-
Moderate
-
None
-
Unspecified
-
None
-
None
-
Rejected
-
None
-
None
-
If docs needed, set a value
-
None
-
None
-
None
-
None
-
None
Description of problem:
When following the instructions to mirror content into a disconnected environment and prune an index:
... Step 4 fails if run on a Mac.
Version-Release number of selected component (if applicable):
Version: version.Version
{OpmVersion:"b576eef43", GitCommit:"b576eef43e0d4c3745435a068b8bf42ec347eda3", BuildDate:"2022-04-11T10:00:51Z", GoOs:"darwin", GoArch:"amd64"}How reproducible:
always
Steps to Reproduce:
opm index prune --debug --from-index "registry.redhat.io/redhat/redhat-operator-index:v4.10" --packages 'advanced-cluster-management' --tag myindex:v4.10
Actual results:
exits with error code 125 and this message:
error copying to host: copier: put: error creating "/Users/mhrivnak/index_tmp_377180214/root/.bash_logout": copier: put: error opening file "/Users/mhrivnak/index_tmp_377180214/root/.bash_logout" for writing: open /Users/mhrivnak/index_tmp_377180214/root/.bash_logout: permission denied
Expected results:
succeeds
Additional info:
More details in upstream bug reports:
https://github.com/operator-framework/operator-registry/issues/947
https://github.com/containers/podman/issues/13992