Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1691543

Summary: rootless unable to access subscription: bad permissions on /usr/share/rhel/secrets
Product: Red Hat Enterprise Linux 8 Reporter: Qian Cai <qcai>
Component: skopeoAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: medium Docs Contact:
Priority: urgent    
Version: 8.0CC: atomic-bugs, ddarrah, dornelas, dwalsh, gscrivan, jligon, jnovy, lsm5, mheon, pthomas, ypu
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1690514 Environment:
Last Closed: 2019-11-05 21:01:58 UTC Type: Bug
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: 1690514, 1691544, 1710564, 1718384    
Bug Blocks: 1718915, 1734574    

Comment 1 Daniel Walsh 2019-03-21 21:49:49 UTC
The first two are no brainers to fix. But how about the third one?

Comment 2 Qian Cai 2019-03-22 02:14:12 UTC
This ball is in the subscription-manager devel's court now.

https://bugzilla.redhat.com/show_bug.cgi?id=1691544

Comment 5 Daniel Walsh 2019-08-15 10:14:43 UTC
Jindrich, we need this change in RHEL8.1.

Could you update the skopeo package for RHEL8?

Comment 6 Jindrich Novy 2019-08-16 07:33:55 UTC
The fix is now committed to these branches for skopeo:
stream-container-tools-1.0-rhel-8.1.0
stream-container-tools-rhel8-rhel-8.1.0

Comment 8 Joy Pu 2019-09-27 13:00:23 UTC
Test with containers-common-0.1.37-5.module+el8.1.0+4240+893c1ab8.x86_64 the permission is as expect. So set this to verified.
$ ls -l /usr/share/rhel/
total 0
drwxr-xr-x. 2 root root 63 Sep 26 11:45 secrets

Comment 10 errata-xmlrpc 2019-11-05 21:01:58 UTC
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://access.redhat.com/errata/RHSA-2019:3403