[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 19:00:01 UTC 2009


On Fri, Nov 13, 2009 at 8:51 PM, Celejar <celejar at gmail.com> wrote:
> On Fri, 13 Nov 2009 17:14:24 +0200
> Martin-Éric Racine <q-funk at iki.fi> wrote:
>> 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?

It should not need any versioning, since the package has always been
expected to work fine with those restrictive permissions, at least on
Debian. The only recent change I've done is to make the post-install
script enforce expected ownership and permissions on all files, just
to sanitize everything after an upgrade, in case someone messed with
the default settings.

Martin-Éric





More information about the Pkg-cups-devel mailing list