apparmor.d/apparmor.d/groups/kde/kio_http_cache_cleaner
2024-03-08 15:22:15 +00:00

26 lines
No EOL
657 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/kf{5,6}/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>
}