diff --git a/apparmor.d/groups/apt/apt b/apparmor.d/groups/apt/apt index 493b01ec..5fe18632 100644 --- a/apparmor.d/groups/apt/apt +++ b/apparmor.d/groups/apt/apt @@ -153,20 +153,9 @@ profile apt @{exec_path} flags=(attach_disconnected) { profile editor flags=(complain) { include - include - - @{sh_path} rix, - @{bin}/sensible-editor mr, - @{bin}/vim.* mrix, - @{bin}/which{,.debianutils} rix, - - /usr/share/vim/{,**} r, + include /etc/apt/sources.list rw, - /etc/vim/{,**} r, - - owner @{HOME}/.viminfo{,.tmp} rw, - owner @{HOME}/.selected_editor r, include if exists }