Bug 1913693 - Not strict restrictive permissions in the doc folders: perl-devel
Summary: Not strict restrictive permissions in the doc folders: perl-devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: perl
Version: 8.3
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: rc
: 8.4
Assignee: perl-maint-list
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-07 11:55 UTC by Petr Pisar
Modified: 2021-05-18 15:06 UTC (History)
6 users (show)

Fixed In Version: perl-5.26.3-419.el8
Doc Type: No Doc Update
Doc Text:
Clone Of: 1806523
Environment:
Last Closed: 2021-05-18 15:06:02 UTC
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description Petr Pisar 2021-01-07 11:55:31 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
[...]

--- 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} .

[...]

--- Additional comment from Petr Pisar on 2020-02-24 16:06:45 GMT ---

While the fix is not applied to RHEL-8 perl, the bug does not manifests there. Probably due to a different Brew code or a configuration.

------

It manifests in RHEL-8.4.0 scratch builds now.

Comment 6 errata-xmlrpc 2021-05-18 15:06:02 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 (Moderate: perl security and 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/RHSA-2021:1678


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