Add profile for tgpt.

This commit is contained in:
tpaau-17DB 2025-07-01 18:18:22 +02:00
parent 1aee62f52c
commit 15dcc3192c

View file

@ -0,0 +1,21 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 tpaau-17DB tpaau-17DB@tutamail.com
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/tgpt
profile tgpt @{exec_path} flags=(unconfined) {
include <abstractions/base>
include <abstractions/nameservice>
@{exec_path} mr,
owner @{HOME}/@{XDG_DOWNLOAD_DIR}/** rw,
include if exists <local/tgpt>
}
# vim:syntax=apparmor