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

Martin-Éric Racine q-funk at iki.fi
Fri Nov 13 15:14:24 UTC 2009


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

Martin-Éric





More information about the Pkg-cups-devel mailing list