feat(profile): add homebank.

This commit is contained in:
Alexandre Pujol 2024-09-12 22:56:57 +01:00
parent 7b4db8fd41
commit ce51195ff4
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -0,0 +1,24 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/homebank
profile homebank @{exec_path} {
include <abstractions/base>
include <abstractions/desktop>
include <abstractions/dconf-write>
@{exec_path} mr,
/usr/share/homebank/{,**} r,
owner @{user_config_dirs}/homebank/{,**} rw,
include if exists <local/homebank>
}
# vim:syntax=apparmor