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 1934121 - Not strict restrictive permissions in the doc folders: perl-devel [rhel-7.7.z]
Summary: Not strict restrictive permissions in the doc folders: perl-devel [rhel-7.7.z]
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: perl
Version: 7.7
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: perl-maint-list
QA Contact: RHEL CS Apps Subsystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-02 14:45 UTC by Petr Pisar
Modified: 2021-03-02 14:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1806523
Environment:
Last Closed: 2021-03-02 14:53:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2021-03-02 14:45:08 UTC
+++ This bug was initially created as a clone of Bug #1806523 +++

Description of problem:
Files in documentation folder have 'loose' permissions:
    In the file /usr/share/doc/perl-devel-5.16.3/perl-example.stp , the permission is 0664. 0755 is expected or more restrictive

Version-Release number of selected component (if applicable):
    perl-devel-5.16.3-294.el7_6.x86_64

[...]
--- Additional comment from Petr Pisar on 2020-02-24 13:14:58 GMT ---

This bug is caused by a 0002 umask on the build server. A simple fix is needed to the specification file:

 #copy the example script
-cp -a %{SOURCE5} .
+install -m 0644 %{SOURCE5} .

----

The build infrastructure change also affects RHEL-7.7.z builds and would produce a broken build. We need to correct the spec file there in order not to create regressions.

Comment 1 Petr Pisar 2021-03-02 14:53:26 UTC
Actually this would not be regression: An affected perl-devel-5.16.3-294.el7_6.x86_64 has already been released:

$ rpm -qlvp perl-devel-5.16.3-294.el7_6.x86_64.rpm |grep stp
-rw-rw-r--    1 root     root                      576 čen 17  2013 /usr/share/doc/perl-devel-5.16.3/perl-example.stp
-rw-r--r--    1 root     root                      799 led  7  2019 /usr/share/systemtap/tapset/libperl5.16.3-64.stp

Thus the same malformed perl-devel-5.16.3-294.el7_6.1.x86_64.rpm won't be a regression:

$ rpm -qlvp perl-devel-5.16.3-294.el7_6.1.x86_64.rpm |grep stp
-rw-rw-r--    1 root     root                      576 čen 17  2013 /usr/share/doc/perl-devel-5.16.3/perl-example.stp
-rw-r--r--    1 root     root                      799 bře  2 15:21 /usr/share/systemtap/tapset/libperl5.16.3-64.stp


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