mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-19 01:18:16 +01:00
33 lines
748 B
Text
33 lines
748 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/czkawka_cli
|
|
profile czkawka-cli @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
@{exec_path} mr,
|
|
|
|
# Dirs to scan for duplicates
|
|
#owner @{HOME}/** rw,
|
|
owner @{MOUNTS}/** rw,
|
|
|
|
owner @{user_config_dirs}/czkawka/ rw,
|
|
owner @{user_config_dirs}/czkawka/** rw,
|
|
|
|
owner @{user_cache_dirs}/ rw,
|
|
owner @{user_cache_dirs}/czkawka/ rw,
|
|
owner @{user_cache_dirs}/czkawka/** rw,
|
|
|
|
owner @{PROC}/@{pid}/cgroup r,
|
|
owner @{PROC}/@{pid}/mountinfo r,
|
|
owner @{PROC}/@{pid}/mounts r,
|
|
|
|
@{sys}/fs/cgroup/{,**} r,
|
|
|
|
include if exists <local/czkawka-cli>
|
|
}
|