AppArmor default profile for Firefox contains the names of directories only in English
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, I've already asked a question about this issue and user andrew-woodhead wrote/suggested, that I should report a bug. So, I just copied the contents of my questions*, because it seems to me, that exactly describes the problem.
The default Firefox profile for AppArmor (ver. 2.7.102-0ubuntu3.1 and apparmor-profiles 2.7.102-0ubuntu3.1) on all Ubuntu 12.04 variants contains the names of directories only in English. What about the other users who speak a different languages? Profile contains an interesting policy/rule:
# Default profile allows downloads to ~/Downloads and uploads from ~/Public
owner @{HOME}/Public/ r,
owner @{HOME}/Public//* r,
owner @{HOME}/Downloads/ r,
owner @{HOME}/Downloads/* rw,
I think this should be changed. Let see: if someone uses language such as German, Italy or whatever, the default profile may not work, because the real names of these catalogs are written in another, non-english language, so - in fact - are different. I do not know if it is a bug, but it seems to be important from AppArmor point of view. Of course, it also has an impact on security.
Example solutions:
1) update Firefox default profile during system installation and a step where users are setting their native language (automatic update?).
2) when user will try to activate Firefox profile with 'aa-enforce' command, display a message about changing directory names for '@{HOME}/Public/' and '@{HOME}
3) OPTIONAL: adding/updating an information to/in the "Apparmor - Community Ubuntu Documentation", especially FAQ subheading and question about enabling profile for Firefox**.
Best regards!
* https:/
** https:/
tags: | added: apparmor |
affects: | ubuntu → firefox (Ubuntu) |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Firefox default profile contains the names of directories only in - English + AppArmor default profile for Firefox contains the names of directories + only in English |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Hi, I thought, that this problem is more suitable for 'apparmor-profile' instead Firefox.