diff --git a/states/apparmor/opt.sublime_text.sublime_text.j2 b/states/apparmor/opt.sublime_text.sublime_text.j2 index 48298b2..b95d3b5 100644 --- a/states/apparmor/opt.sublime_text.sublime_text.j2 +++ b/states/apparmor/opt.sublime_text.sublime_text.j2 @@ -16,20 +16,24 @@ /dev/null r, /{dev,run}/{,shm/}** rwmkl, - /opt/sublime_text*/ rwixmkl, - /opt/sublime_text*/** rwixmkl, + /opt/sublime_text/ rwixmkl, + /opt/sublime_text/** rwixmkl, - owner @{HOME}/.config/sublime-text-3/ rwmkl, - owner @{HOME}/.config/sublime-text-3/** rwmkl, + owner @{HOME}/.config/sublime-text/ rwmkl, + owner @{HOME}/.config/sublime-text/** rwmkl, + owner @{HOME}/.cache/sublime-text/ rwmkl, + owner @{HOME}/.cache/sublime-text/** rwmkl, owner @{HOME}/ rwmkl, owner @{HOME}/** rwmkl, + owner /tmp/ rwmkl, + owner /tmp/** rwmkl, deny network inet, deny network inet6, deny network raw, } -/opt/sublime_text*/plugin_host* { +/opt/sublime_text*/plugin_host { #include deny network inet, deny network inet6,