mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Task: Use editor abstraction
This commit is contained in:
parent
769b4a7cec
commit
eb32db16c6
@ -35,29 +35,7 @@ profile task @{exec_path} {
|
||||
owner @{HOME}/.task/{,**} rwk,
|
||||
|
||||
profile editor {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{bin}/sensible-editor mr,
|
||||
@{bin}/vim mrix,
|
||||
@{bin}/vim.* mrix,
|
||||
@{sh_path} 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,
|
||||
include <abstractions/editor>
|
||||
|
||||
# Taskwarrior related files
|
||||
owner @{HOME}/.task/ r,
|
||||
|
Loading…
Reference in New Issue
Block a user