apparmor.d/apparmor.d/groups/kde/kio_http_cache_cleaner
2023-08-27 14:32:08 +01:00

26 lines
No EOL
648 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/kf5/kio_http_cache_cleaner
profile kio_http_cache_cleaner @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/usr/share/icu/@{int}.@{int}/*.dat r,
/usr/share/qt{5,}/translations/*.qm r,
owner @{user_cache_dirs}/kio_http/{,*} rw,
owner @{user_config_dirs}/kio_httprc r,
owner @{run}/user/@{uid}/kio_http_cache_cleaner rw,
@{PROC}/sys/kernel/core_pattern r,
include if exists <local/kio_http_cache_cleaner>
}