Public bug reported:

Binary package hint: cups

Description:    Ubuntu 9.04
Release:        9.04
cups version: 1.3.9-17ubuntu3.1

If I try to print a PDF file from a remote machine (over Samba) to the
shared cups-pdf printer on my Ubuntu machine, the PDF file is not
created and apparmor complains with this message:

Jun 24 15:34:05 carex kernel: [427008.935872] type=1503
audit(1245875645.523:73): operation="inode_permission"
requested_mask="r::" denied_mask="r::" fsuid=0
name="/var/spool/cups/d00022-001" pid=9732
profile="/usr/lib/cups/backend/cups-pdf"

Apparently cups puts the file in /var/spool/cups and then cups-pdf tries
to move it to its final destination.

Adding the following line to the /usr/lib/cups/backend/cups-pdf profile
in /etc/apparmor.d/usr.sbin.cupsd fixed the problem for me:

  /var/spool/cups/* rw,

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cups-pdf fails from remote machine, apparmor complains
https://bugs.launchpad.net/bugs/391886
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to