From ce51195ff435eaa87e34fcd43cd06a0c07c063de Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 12 Sep 2024 22:56:57 +0100 Subject: [PATCH] feat(profile): add homebank. --- apparmor.d/profiles-g-l/homebank | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 apparmor.d/profiles-g-l/homebank diff --git a/apparmor.d/profiles-g-l/homebank b/apparmor.d/profiles-g-l/homebank new file mode 100644 index 00000000..4c0b0316 --- /dev/null +++ b/apparmor.d/profiles-g-l/homebank @@ -0,0 +1,24 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/homebank +profile homebank @{exec_path} { + include + include + include + + @{exec_path} mr, + + /usr/share/homebank/{,**} r, + + owner @{user_config_dirs}/homebank/{,**} rw, + + include if exists +} + +# vim:syntax=apparmor