Bug 1969929
Summary: | oc image extract fails due to security capabilities on files | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
Component: | oc | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.8 | CC: | aos-bugs, dornelas, jokerman, mfojtik |
Target Milestone: | --- | ||
Target Release: | 4.6.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
Insufficient privileges to set extended attributes during untaring.
Consequence:
oc image extract was failing with operation not permitted error when run as non-root user.
Fix:
Check user and set extended security attributes only when run as root.
Result:
oc image extract works correctly for both root and non-root user.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-07-21 18:17:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1969928 | ||
Bug Blocks: | 1867598, 1954587, 1995337, 1997492 |
Description
OpenShift BugZilla Robot
2021-06-09 13:22:33 UTC
*** Bug 1970203 has been marked as a duplicate of this bug. *** [root@localhost ~]# oc image extract registry-proxy.engineering.redhat.com/rh-osbs/iib:76743 --confirm [root@localhost ~]# echo $? 0 [root@localhost ~]# oc version --client Client Version: 4.6.0-0.nightly-2021-07-09-014429 Can't reproduce the issue now . 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 (OpenShift Container Platform 4.6.39 bug fix update), 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://access.redhat.com/errata/RHBA-2021:2684 |