diff --git a/apparmor.d/profiles-s-z/vipw-vigr b/apparmor.d/profiles-s-z/vipw-vigr index f6f3ff36..c6e58e7f 100644 --- a/apparmor.d/profiles-s-z/vipw-vigr +++ b/apparmor.d/profiles-s-z/vipw-vigr @@ -40,23 +40,11 @@ profile vipw-vigr @{exec_path} { profile editor { include - include + include capability fsetid, - @{bin}/sensible-editor mr, - @{bin}/vim.* mrix, - @{sh_path} rix, - @{bin}/which{,.debianutils} rix, - - owner @{HOME}/.selected_editor r, - - /usr/share/vim/{,**} r, - /etc/vim/{,**} r, - owner @{HOME}/.viminfo{,.tmp} rw, - /etc/{passwd,shadow,gshadow,group}.edit rw, - } include if exists