On 10/3/07, Gert Kulyk <[EMAIL PROTECTED]> wrote:
> One line in your post may explain why it fails: The default (and therefore
> allowed by apparmor) place for created pdf's is $(HOME)/PDF. If this
> directory is not used (or is a symlink, just to add this), that means you've
> changed the default path in cups-pdf.conf, you'll need to apply this changes
> in the /etc/apparmor.d/usr.sbin.cupsd file, too.
> The line:
> > Mon Oct 1 10:14:51 2007 [ERROR] failed to set file mode for PDF file (non
> > fatal)
> > (/home/hunzikea/Desktop/Report_a_bug.pdf)
> leeds me to the assumption, you did change the default-location for pdfs
> stored by cups-pdf, but you've forgotten to modify usr.sbin.cupsd-file to
> reflect these changes. If you e.g. want the created pdf-files to be placed on
> the Desktop, you'll need to change the lines:
>
> @{HOME}/PDF/ w,
> @{HOME}/PDF/* w,
>
> into:
>
> @{HOME}/Desktop/ w,
> @{HOME}/Desktop/* w,
>
> in the mentioned usr.sbin.cupsd file and restart the apparmor-service.
You found the real bug. Well done!
Till: would it make more sense to put that AppArmor segment into the
cups-pdf package, so that we could modify it as the package evolve and
also document it as a part of cups-pdf, in case people decide to
select a non-default output path?
--
cups-pdf fails to generate file
https://bugs.launchpad.net/bugs/147551
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs