paulbsd-salt/states/apparmor/opt.sublime_text.sublime_text.j2

41 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
#include <tunables/global>
2022-11-08 11:10:32 +01:00
/opt/sublime_text*/sublime_text flags=(complain) {
2020-07-10 00:58:55 +02:00
#include <abstractions/base>
#include <abstractions/X>
#include <abstractions/ibus>
#include <abstractions/dbus>
#include <abstractions/dbus-session>
#include <abstractions/dbus-accessibility>
#include <abstractions/dbus-session-strict>
#include <abstractions/gnome>
/usr/share/mate/applications/** r,
/usr/bin/caja rwix,
/usr/share/glib-*/schemas/** r,
/dev/null r,
/{dev,run}/{,shm/}** rwmkl,
2022-11-08 11:10:32 +01:00
/opt/sublime_text*/ rwixmkl,
/opt/sublime_text*/** rwixmkl,
2020-07-10 00:58:55 +02:00
2021-10-30 18:39:48 +02:00
owner @{HOME}/.config/sublime-text/ rwmkl,
owner @{HOME}/.config/sublime-text/** rwmkl,
owner @{HOME}/.cache/sublime-text/ rwmkl,
owner @{HOME}/.cache/sublime-text/** rwmkl,
2020-07-10 00:58:55 +02:00
owner @{HOME}/ rwmkl,
owner @{HOME}/** rwmkl,
2021-10-30 18:39:48 +02:00
owner /tmp/ rwmkl,
owner /tmp/** rwmkl,
2020-07-10 00:58:55 +02:00
deny network inet,
deny network inet6,
deny network raw,
}
2022-11-08 11:10:32 +01:00
/opt/sublime_text*/plugin_host* flags=(complain) {
2020-07-10 00:58:55 +02:00
#include <abstractions/base>
deny network inet,
deny network inet6,
deny network raw,
}