Bug#740959: /usr/sbin/update-gsfontmap: sets wrong file permissions
Package: ghostscript
Version: 9.05~dfsg-8+b1
Severity: normal
File: /usr/sbin/update-gsfontmap
Dear Maintainer,
the script update-gsfontmap creates (among others) the
/var/lib/ghostscript/fonts/Fontmap file used by ghostscript to map font names.
I believe it should make them world-readable. At the moment, it creates them
with the umask of the user running it, which in my case happened to make them
readable only by root. As a result, ghostscript (called as a normal user) did
no longer work for me, since it failed to find some non-standard fonts.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ghostscript depends on:
ii debconf [debconf-2.0] 1.5.52
ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.2
ii libc6 2.17-97
ii libgs9 9.05~dfsg-8+b1
ghostscript recommends no packages.
Versions of packages ghostscript suggests:
ii cups-filters [ghostscript-cups] 1.0.46-1
ii ghostscript-x 9.05~dfsg-8+b1
ii hpijs 3.13.4-1
-- no debconf information
Reply to: