mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-06 18:25:05 +01:00
Mutt: Use editor abstraction
This commit is contained in:
parent
e38f2ac721
commit
769b4a7cec
1 changed files with 1 additions and 23 deletions
|
@ -104,29 +104,7 @@ profile mutt @{exec_path} {
|
||||||
}
|
}
|
||||||
|
|
||||||
profile editor {
|
profile editor {
|
||||||
include <abstractions/base>
|
include <abstractions/editor>
|
||||||
include <abstractions/nameservice-strict>
|
|
||||||
|
|
||||||
@{bin}/sensible-editor mr,
|
|
||||||
@{bin}/vim mrix,
|
|
||||||
@{bin}/vim.* mrix,
|
|
||||||
@{bin}/{,ba,da}sh rix,
|
|
||||||
@{bin}/which{,.debianutils} rix,
|
|
||||||
|
|
||||||
/usr/share/vim/{,**} r,
|
|
||||||
/usr/share/terminfo/** r,
|
|
||||||
|
|
||||||
/etc/vimrc r,
|
|
||||||
/etc/vim/{,**} r,
|
|
||||||
|
|
||||||
owner @{HOME}/.selected_editor r,
|
|
||||||
owner @{HOME}/.viminfo{,.tmp} rw,
|
|
||||||
owner @{HOME}/.vimrc r,
|
|
||||||
|
|
||||||
# Vim swap file
|
|
||||||
owner @{HOME}/ r,
|
|
||||||
owner @{user_cache_dirs}/ r,
|
|
||||||
owner @{user_cache_dirs}/vim/** wr,
|
|
||||||
|
|
||||||
# This is the file that holds the message
|
# This is the file that holds the message
|
||||||
owner /{var/,}tmp/{.,}mutt* rw,
|
owner /{var/,}tmp/{.,}mutt* rw,
|
||||||
|
|
Loading…
Reference in a new issue