Editing AppArmor newly created profile

I’ve created an AppArmor profile for vim cat /etc/apparmor.d/usr.bin.vim.basic #include <tunables/global> /usr/bin/vim.basic { #include <abstractions/base> #include <abstractions/evince> #include <abstractions/nameservice> /etc/* rw, /etc/hosts rw, /etc/vim/vimrc r, /lib/x86_64-linux-gnu/ld-*.so mr, /usr/bin/vim.basic mr, owner /**/ r, owner /etc/.hosts.swp w, owner /etc/4913 w, owner /etc/hosts~ w, owner /home/*/.viminfo rw, owner /home/*/.viminfo.tmp rw, owner /home/*/.vimrc r, owner /home/*/hosts~ w, } I…

Details