abstractions/aspell should authorize write access to ~/.aspell.*.{pws,prepl}
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Medium
|
Steve Beattie |
Bug Description
/etc/apparmor.
# per-user settings and dictionaries
@{HOME}
but per-user dictionaries should be editable to save custom words and such.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apparmor 2.7.0~beta1+
ProcVersionSign
Uname: Linux 3.0.0-15-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Jan 17 15:11:42 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
LANGUAGE=en_CA:en
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)
I noticed this missing permission when using a custom profile for pidgin including <abstractions/ aspell> . The kern.log error looks like this :
Jan 17 13:46:21 simon-laptop kernel: [117850.427005] type=1400 audit(132682598 1.598:128) : apparmor="DENIED" operation="open" parent=1 profile= "/usr/bin/ pidgin" name="/ home/simon/ .aspell. en.prepl" pid=11333 comm="pidgin" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000