[Pkg-cups-devel] Bug#323012: cups-pdf: "failed to set file mode for
PDF file"
Victor Sanz
victor at malvaloca.net
Sun Aug 14 12:29:07 UTC 2005
Martin-Éric Racine wrote:
> On Sun, 14 Aug 2005, Victor Sanz wrote:
>
>> Package: cupsys
>> Version: 1.7.0a-1
>
>
> Wait... Is this a report on cups-pdf or on cupsys?
Ooops, sorry for the mistake, I wanted to say Package cups-pdf.
>
>> I have suffered a problem with similar symptoms to bug #301406. But
>> in my system the problem afects all users including root:
>>
>> Sun Aug 14 01:17:46 2005 [ERROR] failed to set file mode for PDF
>> file (/root/cups-pdf/Test_Page.pdf)
>
>
> Another issue here is whether you indeed are on a Debian system or on
> Ubuntu.
> Some settings must be changed to be able to use cups-pdf on Ubuntu,
> otherwise cups-pdf indeed cannot set the permissions, because Ubuntu
> maintainers modified it to run as a non-root user.
This is a Debian Sarge.
>> After some experimenting I've found that installing the package
>> gs-gpl, and restarting the virtual printer after that, seems to
>> solve the problem.
>> Are cupspdf or cupsys packages dependant from gs?
>
>
> cupsys depends on gs-eps, which provides the Ghostscript we need.
>
But: cupsys only recommends gs-esp. I think this is related to bug
#312244 . I think one of cupsys or cups-pdf must depend on ghostscript
to make the package functional and to avoid the problem and the
confusing messages in the cups-pdf.log
Victor
More information about the Pkg-cups-devel
mailing list