https://bugzilla.redhat.com/show_bug.cgi?id=1485789
David Kaspar [Dee'Kej] dkaspar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NEXTRELEASE Last Closed| |2017-08-28 06:57:15
--- Comment #3 from David Kaspar [Dee'Kej] dkaspar@redhat.com --- (In reply to Ralf Corsepius from comment #2)
I realize, my initial posting wasn't well put and misleading.
My point is: /usr/share/doc/<packagename> directories (here: /usr/share/doc/urw-fonts) need to carry worldwide excutable permissions.
A far as I can tell, the origin of this issue is rpm's behavior on %docdir having changed some rpm rsp. Fedora releases ago.
In your case the origin seem to be %defattr(0644,root,root,0755) in urw-fonts.spec
Ah, OK, thanks for the update. :) When I try it myself, I indeed see what you have posted:
Normandy-SR4[dkaspar] ~/Downloads $ rpm -qlvp urw-fonts-2.4-23.fc26.noarch.rpm | grep doc drw-r--r-- 2 root root 0 Feb 12 2017 /usr/share/doc/urw-fonts -rw-r--r-- 1 root root 17992 Apr 23 2001 /usr/share/doc/urw-fonts/COPYING -rw-r--r-- 1 root root 2245 Jan 18 2002 /usr/share/doc/urw-fonts/README -rw-r--r-- 1 root root 1317 Jul 12 2002 /usr/share/doc/urw-fonts/README.tweaks
However, after the installation, everything seems to be as it should:
Normandy-SR4[dkaspar] /usr/share/doc $ rpm -q urw-fonts urw-fonts-2.4-22.fc24.noarch Normandy-SR4[dkaspar] /usr/share/doc $ rpm -qlv urw-fonts-2.4-22.fc24.noarch | grep doc drwxr-xr-x 2 root root 0 Feb 5 2016 /usr/share/doc/urw-fonts -rw-r--r-- 1 root root 17992 Apr 23 2001 /usr/share/doc/urw-fonts/COPYING -rw-r--r-- 1 root root 2245 Jan 18 2002 /usr/share/doc/urw-fonts/README -rw-r--r-- 1 root root 1317 Jul 12 2002 /usr/share/doc/urw-fonts/README.tweaks Normandy-SR4[dkaspar] /usr/share/doc $ ll -d urw-fonts drwxr-xr-x. 1 root root 52 Jun 14 2016 urw-fonts/
---------------------
Anyway, the urw-fonts will be soon obsoleted (approximately in September, it depends on the new release of ghostscript-9.22) by a new font-package:
urw-base35-fonts (BZ #1458840)
https://src.fedoraproject.org/rpms/urw-base35-fonts
In case it does not cause any significant problems for you, I will close this, and we will wait for the release of new package, which should have the correct permissions set. :) (It actually does not uses the /usr/share/doc anymore, only /usr/share/licenses, for which it uses %license macro, without the deprecated %defattr() macro.)
Best regards,
-- Dee'Kej --