apparmor prevents cups-pdf from printing to ~/PDF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apparmor
My cups-pdf cannot print to my ~/PDF if apparmor is active. Doing "service apparmor stop"
allows printing-to-PDF to happen.
I suspect this is because my /home/username is a symlink to /warehouse/
(My laptop's /warehouse is a separate partition). Whether this is caused because I have
a symlink in the path, or because there is a file-system-
symlink, I don't know.
I found that adding two lines to /etc/apparmor.
/warehouse/
/warehouse/
@{HOME}/PDF/ rw,
@{HOME}/PDF/* rw,
The two @{HOME} lines were already present --- I just added the /warehouse/home/...
lines. It is therefore clear that something additional needs to be done about apparmor
configuration for cups-pdf if there is a symlink or a file-system-
of the ~/PDF.
I don't know whether this is an apparmor bug or a cups-pdf bug.
ProblemType: Bug
ApparmorStatusO
Error: command /usr/sbin/
apparmor module is loaded.
Architecture: i386
Date: Sun Feb 7 20:23:17 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelMo
Package: apparmor 2.3.1+1403-
ProcEnviron:
PATH=(custom, user)
LANG=en_IN
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apparmor
Uname: Linux 2.6.31-14-generic i686
Thank you for the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this bug has already been reported. Please review https:/ /wiki.ubuntu. com/DebuggingAp parmor# Adjusting% 20Tunables as well as the information and solution in bug #447292.