From 99ef75751fe3ebe7988b93052a2941a53bd1282c Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 30 Oct 2021 18:39:48 +0200 Subject: [PATCH] updated apparmor sublime_text profile --- states/apparmor/opt.sublime_text.sublime_text.j2 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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,