Mutt and Abook profiles (#288)
There are an innumerable number of mutt configurations. This AA profile is intended to work with a stock mutt config. Any customizations should be placed in local/mutt This might be a little annoying because by default mutt saves attachments in the directory that it was started from (most likely ~/), and there is no config option that I'm aware of to set a default download location. A user will either need to manually specify a location (like ~/Downloads) when saving, or allow saving to ~/ in the local override.
This commit is contained in:
parent
804bde0172
commit
ea97ff6a5f
2 changed files with 221 additions and 0 deletions
32
apparmor.d/profiles-a-f/abook
Normal file
32
apparmor.d/profiles-a-f/abook
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Zane Zakraisek <zz@eng.utah.edu>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/abook
|
||||
profile abook @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/user-download-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
# Used for printing
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/lp{,r} rPUx,
|
||||
# Abook has built in support to launch mutt
|
||||
@{bin}/mutt rPUx,
|
||||
|
||||
/usr/share/terminfo/** r,
|
||||
|
||||
/etc/inputrc r,
|
||||
|
||||
owner @{HOME}/.abook/abookrc r,
|
||||
owner @{HOME}/.abook/addressbook* rw,
|
||||
|
||||
include if exists <local/abook>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue