http://bugzilla.novell.com/show_bug.cgi?id=608071
http://bugzilla.novell.com/show_bug.cgi?id=608071#c16
--- Comment #16 from Ludwig Nussel
[...] Furthermore http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583316#10 ------------------------------------------------------------------ I have been using a wrapper around gs that sets both -P- -dSAFER. That seems to work fine for viewing PS files, but does NOT allow gv to work for PDFs ------------------------------------------------------------------- indicates that we should pay particular attention if "-P-" becomes our default whether or not Ghostscript then still works for PDFs.
The mistake in that wrapper is to add -dSAFER always. $ cat ~/bin/gs #!/bin/sh set -- -P- "$@" echo "$@" exec /usr/bin/gs "$@" $ gv /tmp/uebung01.pdf -P- -dNODISPLAY -dQUIET -sPDFname=uebung01.pdf -sDSCname=/tmp/gv_4bff90b8_1_uebung01.pdf.tmp pdf2dsc.ps -c quit For PDFs gv actually calls gs to execute a postscript program. That program is from ghostscript itself so no need for -dSAFER there. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.