[apparmor] [PATCH] update aspell abstraction

Steve Beattie steve at nxnw.org
Wed Jan 18 00:15:47 UTC 2012


A bug in Ubuntu [1] reported that the aspell abstraction does
not allow write access to the user customizable dictionaries, the
personal dictionary (~/.aspell.$LANG.pws) and the personal replacement
dictionary (~/.aspell.$LANG.prepl). It also adjusts the abstraction
to add the owner modifier to the personal dictionaries.

[1] https://bugs.launchpad.net/bugs/917859
---
 profiles/apparmor.d/abstractions/aspell |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/profiles/apparmor.d/abstractions/aspell
===================================================================
--- a/profiles/apparmor.d/abstractions/aspell
+++ b/profiles/apparmor.d/abstractions/aspell
@@ -2,7 +2,7 @@
 # aspell permissions
 
   # per-user settings and dictionaries
-  @{HOME}/.aspell.*.{pws,prepl} rk,
+  owner @{HOME}/.aspell.*.{pws,prepl} rwk,
 
   # system libraries and dictionaries
   /usr/lib/aspell/ r,

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120117/ce3d1278/attachment.pgp>


More information about the AppArmor mailing list