[karmic] apparmor breaks zotero extension for firefox
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evince (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge | ||
firefox-3.5 (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge | ||
linux (Ubuntu) |
Triaged
|
Undecided
|
Jamie Strandboge |
Bug Description
Binary package hint: evince
The Zotero reference manager is an extension for firefox to make it easy to collect/manage academic papers and related metadata:
http://
It stores downloaded PDFs under ~/.mozilla/
Since upgrading to karmic, I can no longer open any of my papers stored in Zotero, because the evince apparmor profile apparently disallows access to files with this kind of path.
If I try, evince prints to the terminal a message like:
Error: Couldn't open file '/home/
and in the GUI displays
Unable to open document
Error opening file: Permission denied
If I run aa-complain /usr/bin/evince, then opening such files works again -- the problem is a line in abstractions/
audit deny @{HOME}/.mozilla/** mrwkl,
I suppose the ideal solution would be for zotero to move its database out to a more sensible location. In the mean time, for karmic I suggest allowing rw access to @{HOME}
Here are the relevant lines out of dmesg:
[82211.697841] type=1503 audit(125532828
[82211.698278] type=1503 audit(125532828
ProblemType: Bug
Architecture: amd64
Date: Sun Oct 11 22:55:57 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/evince
Package: evince 2.28.0-0ubuntu2
ProcEnviron:
PATH=(custom, user)
SHELL=/usr/bin/zsh
LANG=en_US.UTF-8
ProcVersionSign
SourcePackage: evince
Uname: Linux 2.6.31-13-generic x86_64
mtime.conffile.
Related branches
- Alexander Sack (community): Approve
-
Diff: 24 lines2 files modifieddebian/changelog (+1/-0)
debian/usr.bin.firefox.apparmor.in (+1/-1)
Changed in firefox-3.5 (Ubuntu): | |
status: | Triaged → Fix Committed |
status: | Fix Committed → In Progress |
Changed in firefox-3.5 (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
Changed in evince (Ubuntu): | |
status: | Incomplete → Fix Committed |
Does adding @{HOME} /.mozilla/ **/zotero/ ** to abstractions/ private- files-strict work for you? After adding the line, please perform: d/usr.bin. evince
$ sudo apparmor_parser -r -T -W /etc/apparmor.
and restart evince.