abstractions/enchant should allow creating ~/.config/enchant/

Bug #914184 reported by Felix Geyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

abstractions/enchant should allow creating ~/.config/enchant/.

Pidgin tries to create that folder if it doesn't exist:
Jan 10 10:50:30 vm-VirtualBox kernel: [ 761.176499] type=1400 audit(1326189030.036:119): apparmor="DENIED" operation="mkdir" parent=4142 profile="/usr/bin/pidgin" name="/home/vm/.config/enchant/" pid=4195 comm="pidgin" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000

Tested on an up-to-date precise system (apparmor 2.7.0~beta1+bzr1774-1ubuntu3).

--- abstractions/enchant.org
+++ abstractions/enchant
@@ -52,5 +52,5 @@
   /usr/share/java/zemberek-tr-[0-9]*.jar r,

   # per-user dictionaries
- owner @{HOME}/.config/enchant/ r,
+ owner @{HOME}/.config/enchant/ rw,
   owner @{HOME}/.config/enchant/* rwk,

Revision history for this message
Steve Beattie (sbeattie) wrote :

Thanks, I've committed this to trunk and will nominate it for the 2.7 branch.

Changed in apparmor (Ubuntu):
status: New → Fix Released
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.