mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
Add xdg-user-dirs-update
This commit is contained in:
parent
53b01b1132
commit
f5d1386f74
1 changed files with 22 additions and 0 deletions
22
apparmor.d/profiles-m-z/xdg-user-dirs-update
Normal file
22
apparmor.d/profiles-m-z/xdg-user-dirs-update
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}bin/xdg-user-dirs-update
|
||||||
|
profile xdg-user-dirs-update @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/etc/xdg/user-dirs.conf r,
|
||||||
|
/etc/xdg/user-dirs.defaults r,
|
||||||
|
/var/lib/gdm/.config/user-dirs.dirs r,
|
||||||
|
|
||||||
|
owner @{user_config_dirs}/user-dirs.dirs r,
|
||||||
|
|
||||||
|
include if exists <local/xdg-user-dirs-update>
|
||||||
|
}
|
Loading…
Reference in a new issue