Firefox apparmor blocks old profile location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox
The apparmor profile for Firefox allows locking of
~/.mozilla/
detect more than one instance of itself using the same profile.
However, I have old profiles stored in the old location ~/.firefox/**/,
and on upgrade from Hardy to Lucid, I find apparmor prevents Firefox
from locking my ~/.firefox/
popup saying 'Firefox cannot use the profile "xyz" because it is in use.'
(If you run "firefox -P some_profile", you'll get a popup saying
"Firefox is already running, [sic] but is not responding.")
Please add support for the old profile location, by adding these
rules:
--- etc/apparmor.
+++ etc/apparmor.
@@ -110,6 +110,15 @@
owner @{HOME}
owner @{HOME}
+ # Per-user configuration, for profiles originally created by old
+ # versions of Firefox.
+ owner @{HOME}/.firefox/ rw,
+ owner @{HOME}/.firefox/** rw,
+ owner @{HOME}
+ owner @{HOME}
+ owner @{HOME}
+ owner @{HOME}
+
#
# Extensions
# /usr/share/
@Securtiy team, Chris Coulson
I think we should migrate the old profile rather than adding this to the apparmor profile. Thoughts?