AppArmor default profile for Firefox contains the names of directories only in English

Bug #1065538 reported by daniel CURTIS
8
This bug affects 1 person
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}/Downloads/' locations in the 'usr.bin.firefox' file. So it will be consistent with user native language.
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://answers.launchpad.net/ubuntu/+question/210920
** https://help.ubuntu.com/community/AppArmor#How_can_I_enable_AppArmor_for_Firefox.3F

Tags: apparmor
Micah Gersten (micahg)
tags: added: apparmor
Logan Rosen (logan)
affects: ubuntu → firefox (Ubuntu)
daniel CURTIS (anoda)
description: updated
description: updated
description: updated
Revision history for this message
daniel CURTIS (anoda) wrote :

Hi, I thought, that this problem is more suitable for 'apparmor-profile' instead Firefox.

affects: firefox (Ubuntu) → apparmor (Ubuntu)
daniel CURTIS (anoda)
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
daniel CURTIS (anoda)
description: updated
daniel CURTIS (anoda)
description: updated
daniel CURTIS (anoda)
description: updated
daniel CURTIS (anoda)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.