Hide Forgot
+++ 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.
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