From 4b6498faa87a18bb05c3df2eff73f8d7479c3123 Mon Sep 17 00:00:00 2001 From: nobodysu Date: Fri, 16 Jul 2021 21:29:10 +0300 Subject: [PATCH] update usr.local.bin.linux_czkawka --- abstractions/3rd/dbus-overwrite | 4 ++++ usr.local.bin.linux_czkawka | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 abstractions/3rd/dbus-overwrite diff --git a/abstractions/3rd/dbus-overwrite b/abstractions/3rd/dbus-overwrite new file mode 100644 index 0000000..5346ea4 --- /dev/null +++ b/abstractions/3rd/dbus-overwrite @@ -0,0 +1,4 @@ +# vim:syntax=apparmor + + deny /etc/machine-id r, + deny /var/lib/dbus/machine-id r, diff --git a/usr.local.bin.linux_czkawka b/usr.local.bin.linux_czkawka index c5d4409..a135575 100644 --- a/usr.local.bin.linux_czkawka +++ b/usr.local.bin.linux_czkawka @@ -20,6 +20,7 @@ profile czkawka @{BIN_PATH} { #include #include #include +# #include owner @{HOME}/{,[^.]*}{,/**} rwl, # home itself, not dotfiles, nested files @{DATA_DIRS_RW}/{,**} rwl, @@ -87,10 +88,6 @@ profile czkawka @{BIN_PATH} { network tcp, network udp, - # dbus strictest -# deny /var/lib/dbus/machine-id r, -# deny /etc/machine-id r, - # Ubuntu owner @{run}/user/[0-9]*/dconf/user rw,