[Pkg-cups-devel] Bug#496317: Bug#496317: cups-pdf: only works for root

Volker Behr behr at physik.uni-wuerzburg.de
Sun Aug 24 16:33:49 UTC 2008


On Sun, 2008-08-24 at 15:42 +0300, =?UTF-8?Q? Martin-=C3=89ric?= Racine
wrote:
> 496317 severity normal
> thanks
> 
> On Sun, Aug 24, 2008 at 3:20 PM, Jasen Betts <jasen at xnet.co.nz> wrote:
> > Package: cups-pdf
> > Version: 2.4.8-2
> > Severity: grave
> > Justification: renders package unusable
> >
> >
> > the cups-pdf printer driver only works for root.
> >
> > when invoked by a user it produces no output in the ~/PDF
> > directory
> >
> > as a regular user:
> > $ lpr mozilla.ps
> > $ ls -al ~/PDF
> > total 24
> > drwx------   2 jasen jasen  4096 2008-08-22 23:50 .
> > drwxrwxr-x 141 jasen jasen 20480 2008-08-25 00:06 ..
> 
> There's your explanation: you chose to make your home directory
> writable by yourself only.

Usually CUPS-PDF should assume the UID of the printing user thereby
being allowed to write to the home.

> > #cat  /var/log/cups/cups-pdf_log
> > Mon Aug 25 00:10:31 2008  [ERROR] failed to set file mode for PDF file (non fatal) (/home/jasen/PDF/mozilla.pdf)
> 
> ...which the log confirms.

This results from no file being generated at all.

is there any AppArmour oder SELinux in place? Otherwise the more
detailed debug-output might be of use (to be enabled in cups-pdf.conf).

Regards,
Volker

> 
-- 

Volker Christian Behr
Experimentelle Physik V (Biophysik), Physikalisches Institut
Universitaet Wuerzburg, Am Hubland, 97074 Wuerzburg, Germany

Office: Room F-069a
+49-931-888-5766 (phone)
+49-931-888-5851 (fax)







More information about the Pkg-cups-devel mailing list