Re: Bug#931363: Fails to create output PDF (permission denied)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Bug#931363: Fails to create output PDF (permission denied)

Brian Potkin-2
On Sat 06 Jul 2019 at 12:29:18 +0300, Martin-Éric Racine wrote:

> I made further tests on Stretch. My current packages:
> $ dpkg -l | grep -e ghostscript -e cups-pdf | awk '{print $2, $3}'
> ghostscript 9.26a~dfsg-0+deb9u3
> printer-driver-cups-pdf 2.6.1-22
> Test 1: print an UTF-8 text file from Gedit.  Works.
> Test 2: print an ODF document from LibreOffice. Works.
> Test 3: print an HTML document from Firefox-ESR. Works.
> This bug thus seems to occur rather randomly.  For the record, I
> indeed encountered a "permission denied" error when I tried printing
> to PDF the other day, but I no longer remember from which application
> I did. I probably pressed CTRL-P in whichever application I was using
> at that moment.

>From everything that has been said, the filtering system appears to be
doing its job correctly. This can be confirmed (as root) with

cupsfilter -p </etc/cups/ppd/ppd_file> -m printer/foo -e <any_file> > out.pdf

I wonder whether apparmor is involved? The journal is a place to look.