mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 09:21:00 +01:00

This matches what we use in the profiles for local abstractions. Also adjust the check in the Makefile to expect the variant without '#'.
15 lines
466 B
Text
15 lines
466 B
Text
# vim:syntax=apparmor
|
|
# Allow updating recent documents
|
|
|
|
abi <abi/3.0>,
|
|
|
|
# User files
|
|
|
|
owner @{HOME}/.local/share/RecentDocuments/ rw,
|
|
owner @{HOME}/.local/share/RecentDocuments/#[0-9]* rw,
|
|
owner @{HOME}/.local/share/RecentDocuments/*.desktop rwl -> @{HOME}/.local/share/RecentDocuments/#[0-9]*,
|
|
owner @{HOME}/.local/share/RecentDocuments/*.lock rwk,
|
|
|
|
|
|
# Include additions to the abstraction
|
|
include if exists <abstractions/recent-documents-write.d>
|