aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/apparmor/apparmor.d/abstractions/recent-documents-write
blob: 93c90cab9fc8317eb3ad141bbc99937242843426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# vim:syntax=apparmor
# Allow updating recent documents

  abi <abi/4.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>