Bug 1661395 - missing permission on _90_manila_shares
Summary: missing permission on _90_manila_shares
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-manila-ui
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 14.0 (Rocky)
Assignee: Victoria Martinez de la Cruz
QA Contact: vhariria
URL:
Whiteboard:
: 1664287 (view as bug list)
Depends On: 1719050
Blocks: 1668764
TreeView+ depends on / blocked
 
Reported: 2018-12-21 06:20 UTC by stijn.deweirdt
Modified: 2019-07-02 20:10 UTC (History)
13 users (show)

Fixed In Version: openstack-manila-ui-2.16.2-0.20190420022212.2365e12.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, the OpenStack dashboard would not load the Shared File System's (Manila's) service pages as the dashboard integration files had the wrong permissions. The permissions have now been corrected.
Clone Of:
: 1668764 (view as bug list)
Environment:
Last Closed: 2019-07-02 20:09:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 18036 0 None rpm-master: MERGED openstack/manila-ui-distgit: Add read permissions for others (Ife326ef3631b49ab6c64618960a00c2467b8deec) 2019-03-08 16:50:52 UTC
RDO 18431 0 None rocky-rdo: MERGED openstack/manila-ui-distgit: Add read permissions for others (Ife326ef3631b49ab6c64618960a00c2467b8deec) 2019-03-08 16:50:38 UTC
Red Hat Product Errata RHBA-2019:1671 0 None None None 2019-07-02 20:10:08 UTC

Description stijn.deweirdt 2018-12-21 06:20:57 UTC
Description of problem:

openstack-manila-ui-2.16.0-1.el7.noarch (from centos cloud repo http://mirror.centos.org/centos-7/7.6.1810/cloud/x86_64/openstack-rocky/) has permission bug in package:
/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.py is missing the read by others bit (also on pyo/pyc) file


Version-Release number of selected component (if applicable):
2.16.0-1.el7

How reproducible:


Steps to Reproduce:
1. yum reinstall openstack-manila-ui
2. ls -l /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_90_manila_shares.py*
3. files have permissions on root.root, webservice can't read these

Actual results:


Expected results:


Additional info:

Comment 1 Tom Barron 2018-12-21 10:25:43 UTC
This BZ is actually reported on CentOS/RDO but let's check the corresponding OSP14 package and fix in both distros if appropriate.

Comment 2 Tom Barron 2019-01-08 11:12:16 UTC
*** Bug 1664287 has been marked as a duplicate of this bug. ***

Comment 7 vhariria 2019-06-21 20:02:04 UTC
OSP 14z3 - netApp deployment
Verified manila files under local_settings directory have world read-access on all controller nodes

Comment 9 errata-xmlrpc 2019-07-02 20:09:55 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/RHBA-2019:1671


Note You need to log in before you can comment on or make changes to this bug.