[Pkg-cups-devel] Bug#554424: Bug#554424: cups-pdf: printing fails - '[ERROR] failed to set file mode for PDF file (non fatal)'

Celejar celejar at gmail.com
Fri Nov 13 18:51:04 UTC 2009


On Fri, 13 Nov 2009 17:14:24 +0200
Martin-Éric Racine <q-funk at iki.fi> wrote:

> On Wed, Nov 4, 2009 at 4:33 PM, Celejar <celejar at gmail.com> wrote:
> > Package: cups-pdf
> > Version: 2.5.0-11
> > Severity: important
> >
> >
> > Printing fails - no output under ~/PDF.  /var/log/cups/cups-pdf_log contains:
> >
> > Wed Nov  4 09:27:08 2009  [ERROR] failed to set file mode for PDF file (non fatal) *filename.pdf*
> >
> > I saw this:
> >
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=301406
> >
> > which suggests:
> >
> > ---
> > Since you mention "paranoid" settings please make sure that you (as
> > non-root user) can change into the directory /var/spool/cups-pdf/SPOOL.
> > You need user-read access to this directory in order for cups-pdf to work.
> > ---
> 
> We do not ship any such directory.
> 
> What we ship is /var/spool/cups-pdf/ANONYMOUS and our post-install
> script fixes permissions and ownership as follow:
> 
> chown nobody:nogroup /var/spool/cups-pdf/ANONYMOUS
> chmod 1777 /var/spool/cups-pdf/ANONYMOUS

I was merely quoting the referenced bug report.

In any event, I have just reinstalled cups/cups-pdf, and pdf generation
is working now.  I note that when I filed my original report, I had the
uptodate cups-pdf, but cups itself (due to some dependency trouble) was
version 1.3.8-1+lenny6. Perhaps the error was due to some
incompatibility between the old cups and the current cups-pdf?  I
suppose that I can try downgrading cups to see if I can reproduce the
error.  If that's indeed the problem, does that mean that cups-pdf
needs a versioned dependency on a recent cups?

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator






More information about the Pkg-cups-devel mailing list