Hide Forgot
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 info: Customer has security checker that complains about loose permissions for tomcat documentation files. Customer is concerned that group-write permissions to the documentation files may affect the security of the system and requesting for removing write permissions on group.
I confirm the file has 0664 permissions while it should have 0644 permission. There is no 7.10 version of RHEL. I'm correcting the version value of this bug report the latest released 7.7. If your customer has a different RHEL version or need the fix in any previous RHEL versions, let me know.
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} .
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 (perl bug fix and enhancement 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-2020:3854