mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 17:31:01 +01:00

A bug in Ubuntu 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. Signed-off-by: Steve Beattie <sbeattie@ubuntu.com> Acked-by: John Johansen <john.johansen@canonical.com> Bug: https://launchpad.net/bugs/917859
11 lines
259 B
Text
11 lines
259 B
Text
# vim:syntax=apparmor
|
|
# aspell permissions
|
|
|
|
# per-user settings and dictionaries
|
|
owner @{HOME}/.aspell.*.{pws,prepl} rwk,
|
|
|
|
# system libraries and dictionaries
|
|
/usr/lib/aspell/ r,
|
|
/usr/lib/aspell/* r,
|
|
/usr/lib/aspell/*.so m,
|
|
/var/lib/aspell/* r,
|