apparmor prevent cups-pdf to create ~/PDF folder
Bug #270046 reported by
Saivann Carignan
This bug report is a duplicate of:
Bug #295318: cups-pdf requires user to create output folder before working correctly..
Edit
Remove
This bug affects 12 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Bug Description
Binary package hint: cupsys
Right after installing cups-pdf on intrepid, it's not possible to print a document in PDF unless if you create ~/PDF folder, or if you launch sudo aa-complain cupsd .
On the first print, cups-pdf have to create ~/PDF folder if it doesn't exist, however apparmor does not permit this, so cups-pdf is unusable until PDF folder is created.
Steps to reproduce :
1. On a fresh Ubuntu intrepid installation, install cups-pdf.
2. Try to print a document with PDF printer.
3. Create ~/PDF
4. Try to print the same document again with PDF printer.
Result : The document won't print to PDF the first time, and it will correctly print after the PDF folder has been created.
Changed in cupsys: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Same here, one needs to create the directory by hand. cups/cups- pdf_log:
Error message in /var/log/
Fri Oct 3 14:44:32 2008 [ERROR] failed to create directory (/home/myuser/PDF)
Fri Oct 3 14:44:32 2008 [ERROR] failed to create user output directory (/home/myuser/PDF)
Corresponding entry in /var/log/messages (same timestamp): 2.247:4) : operation="capable" name="dac_override" pid=12739 profile= "/usr/lib/ cups/backend/ cups-pdf"
type=1503 audit(122303787
I think bug #276502 refers to the same problem.